test: guard hidden Week Ahead journey sheet (Closes #1264)
This commit is contained in:
1 parent
306a20c37f
commit
363a97aa5e
2 files changed
+20
-1
No files matched your search
@@ -69,7 +69,10 @@ def test_release_artifact_reschedules_active_today_into_week_ahead(
|
||||
expect(page.locator("#issue-sheet-title")).to_have_text("Ship mobile capture")
|
||||
if page.locator("#plan-today-sheet").is_visible():
|
||||
page.locator("#cancel-plan-today").click()
|
||||
page.locator("#close-issue-sheet").click()
|
||||
issue_sheet = page.locator("#issue-sheet")
|
||||
if issue_sheet.is_visible():
|
||||
page.locator("#close-issue-sheet").click()
|
||||
expect(issue_sheet).to_be_hidden()
|
||||
if page.locator("#plan-today-sheet").is_visible():
|
||||
page.locator("#cancel-plan-today").click()
|
||||
|
||||
|
||||
Reference in new issue
Block a user