Skip to content

Commit

Permalink
Expect 6 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nstephenh committed Sep 4, 2024
1 parent 2ec1610 commit 7a6d4df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -123,7 +123,7 @@ def test_verify_no_ros_files(self):
def test_LA_5_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 space marine list")

def test_dt_does_not_affect_squad_cost(self):
self.load_list('Dedicated Transport Squad Costs')
Expand Down

0 comments on commit 7a6d4df

Please sign in to comment.