intentially broke functional_tests.test_login to ensure screendumps functionality works on test runner failure in pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -52,6 +52,7 @@ src/static/*
|
|||||||
!src/static/tests/
|
!src/static/tests/
|
||||||
!src/static/tests/**
|
!src/static/tests/**
|
||||||
!/src/static_src/tests/lib/
|
!/src/static_src/tests/lib/
|
||||||
|
src/functional_tests/screendumps
|
||||||
|
|
||||||
# PyInstaller
|
# PyInstaller
|
||||||
# Usually these files are written by a python script from a template
|
# Usually these files are written by a python script from a template
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class LoginTest(FunctionalTest):
|
|||||||
self.wait_for(
|
self.wait_for(
|
||||||
lambda: self.assertIn(
|
lambda: self.assertIn(
|
||||||
"Check your email",
|
"Check your email",
|
||||||
self.browser.find_element(By.CSS_SELECTOR, "body").text,
|
self.browser.find_element(By.CSS_SELECTOR, "title").text,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user