created new dir for STATICFILES_DIRS in core.settings; all Jasmine test files transferred to new dir src/static_src/; new FT test_jasmine executes Jasmine test runner as part of CI pipeline & base FT has dobules MAX_WAIT to 10s; some cleanup of unused imports in text_simple_list_creation
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Disco DeDisco
2026-02-11 14:42:38 -05:00
parent a98a0fcd53
commit 5d0a1401d8
13 changed files with 23 additions and 14763 deletions

View File

@@ -9,7 +9,7 @@ from selenium.webdriver.common.keys import Keys
from .container_commands import reset_database
MAX_WAIT = 5
MAX_WAIT = 10
# Decorator fns

View File

@@ -0,0 +1,13 @@
from selenium.webdriver.common.by import By
from .base import FunctionalTest
class JasmineTest(FunctionalTest):
def test_jasmine_specs_pass(self):
self.browser.get(self.live_server_url + "/static/tests/SpecRunner.html")
def check_results():
result = self.browser.find_element(By.CSS_SELECTOR, ".jasmine-overall-result")
self.assertIn("0 failures", result.text)
self.wait_for(check_results)

View File

@@ -3,8 +3,6 @@ from selenium.webdriver.common.keys import Keys
from .base import FunctionalTest
MAX_WAIT = 5
class NewVisitorTest(FunctionalTest):
# Test methods
def test_can_start_a_todo_list(self):