Skip to content

Commit 36a8c78

Browse files
Updating locator on line 34 to not use the URL
1 parent 25a39ac commit 36a8c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Smokescreen/test_compartment_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_example(page: Page) -> None:
3131
CreateAPlan(page).click_save_button()
3232
CreateAPlan(page).fill_note_field("test data")
3333
CreateAPlan(page).click_saveNote_button()
34-
expect(page).to_have_url("https://bcss-bcss-18680-ddc-bcss.k8s-nonprod.texasplatform.uk/invitation/plan/23159/23162/")
34+
page.locator('#page-title:has-text("Invitation Plans")').wait_for()
3535

3636
# Generate Invitations
3737
NavigationBar(page).click_main_menu_link()

0 commit comments

Comments
 (0)