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

This commit is contained in:
Disco DeDisco
2026-02-11 15:20:25 -05:00
parent bcadb28017
commit 71b35242eb
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -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

View File

@@ -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,
) )
) )