From cc47863f3f9ebde62b946dbe1251e5afd4e2b4df Mon Sep 17 00:00:00 2001 From: Noah Stephen Haskell Date: Wed, 4 Sep 2024 16:28:12 -0500 Subject: [PATCH] Expect 6 errors, Wait for rosterSection to load instead of waiting for titreRoster --- tests/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests.py b/tests/tests.py index 43d61266..95934bc1 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -80,7 +80,7 @@ def load_list(self, roster_name: str): # Wait until the list has loaded print("Waiting for the list to load...") self.wait.until(lambda drv: - drv.find_element(By.CLASS_NAME, 'titreRoster')) + drv.find_element(By.CLASS_NAME, 'rosterSection')) def tearDown(self): if self.debug: @@ -120,10 +120,10 @@ def test_verify_no_ros_files(self): "There is a .ros file in the tests directory, which will break appspot." " Rename the file to .test") - def test_LA_5_errors(self): + def test_crusade_6_errors(self): self.load_list('Empty Validation Test') errors = self.get_error_list() - self.assertEqual(5, len(errors), "There should be 5 errors in an empty space marine list") + self.assertEqual(6, len(errors), "There should be 6 errors in an empty crusade force org marine list") def test_dt_does_not_affect_squad_cost(self): self.load_list('Dedicated Transport Squad Costs')