Skip to content

Commit 1836663

Browse files
Obada HaddadAnne-Catherine L.
authored andcommitted
fix playwright test failing because it's not looking far enough for the leaderboard ID
1 parent 58745e6 commit 1836663

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_submission.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_v2_multiTask(page: Page) -> None:
139139
).to_be_visible()
140140
# The ID on the leaderboard can be one of the children instead of the parent so we try them all
141141
found = False
142-
for count in range(0, 4):
142+
for count in range(0, 5):
143143
try:
144144
submission_ID_str = int(submission_Id[0]) + count
145145
logger.info("Looked for ID : " + str(submission_ID_str))
@@ -199,7 +199,7 @@ def test_v2_multiTaskFactSheet(page: Page) -> None:
199199
).to_be_visible()
200200
# The ID on the leaderboard can be one of the children instead of the parent so we try them all
201201
found = False
202-
for count in range(0, 4):
202+
for count in range(0, 5):
203203
try:
204204
submission_ID_str = int(submission_Id[0]) + count
205205
logger.debug("Looked for ID : " + str(submission_ID_str))

0 commit comments

Comments
 (0)