Skip to content
Snippets Groups Projects
Verified Commit 7d2e70a6 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

[Tests] Deactivate Selenium test for PDF generation for now

parent 2e5efdf6
No related branches found
No related tags found
1 merge request!1123Resolve "Finalise Vuetify app as SPA"
Pipeline #108500 failed
......@@ -83,9 +83,11 @@ class SeleniumTests(SeleniumTestCase):
# Should redirect away from login page and not put up an alert about wrong credentials
assert "Please enter a correct username and password." not in self.selenium.page_source
def test_pdf_generation(self):
self._login()
self._create_person()
self.selenium.get(self.live_server_url + reverse("test_pdf"))
el = WebDriverWait(self.selenium, 20).until(lambda d: ".pdf" in self.selenium.current_url)
self._screenshot("pdf.png")
# Deactivated for now as Selenium test infrastructure needs a complete rethinking
# because of the new Vue frontend
# def test_pdf_generation(self):
# self._login()
# self._create_person()
# self.selenium.get(self.live_server_url + reverse("test_pdf"))
# el = WebDriverWait(self.selenium, 20).until(lambda d: ".pdf" in self.selenium.current_url)
# self._screenshot("pdf.png")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment