Skip to content

Commit 6730334

Browse files
Adding a wait_for() to increase the reliability of a successful run and reduce the chance of fake negative test results
1 parent 5626da5 commit 6730334

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/smokescreen/test_compartment_2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def test_compartment_2(page: Page, smokescreen_properties: dict) -> None:
6060
sample_date = datetime.now().strftime("%#d %b %Y")
6161
logging.info("Setting sample date to today's date")
6262
LogDevices(page).fill_sample_date_field(sample_date)
63+
LogDevices(page).log_devices_title.get_by_text("Scan Device").wait_for()
6364
try:
6465
LogDevices(page).verify_successfully_logged_device_text()
6566
logging.info(f"{fit_device_id} Successfully logged")

0 commit comments

Comments
 (0)