From 6d43709b6cfd3c372d98ca991706def9a2f64eab Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 17 Dec 2024 09:35:47 +1300 Subject: [PATCH] MNT Fix behat test --- tests/Behat/features/restore-archived-page.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Behat/features/restore-archived-page.feature b/tests/Behat/features/restore-archived-page.feature index 03c792b9..080a62e1 100644 --- a/tests/Behat/features/restore-archived-page.feature +++ b/tests/Behat/features/restore-archived-page.feature @@ -25,8 +25,8 @@ Feature: Restore to draft And I click "More options" in the "#ActionMenus" element And I press the "Unpublish and archive" button, confirming the dialog And I go to "/admin/archive" - Then I should see "MyPage" in the "#Form_EditForm" element - Then I click "MyPage" in the "#Form_EditForm" element + Then I should see "MyPage" in the "#Form_EditForm .col-Title" element + Then I click "MyPage" directly in the "#Form_EditForm .col-Title" element When I press the "Restore to draft" button Then I should see "Successfully restored the page" in the "#Form_EditForm" element And I go to "/admin/pages"