From 080e11e35a9a854c1741bf289aaa11dbc7268d1f Mon Sep 17 00:00:00 2001 From: Ilya Tregubov Date: Tue, 1 Nov 2022 08:59:51 +0300 Subject: [PATCH] MDL-74643 core_user: Fix Behat test. Stop using deprecated steps. --- user/tests/behat/contact_site_support.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/tests/behat/contact_site_support.feature b/user/tests/behat/contact_site_support.feature index 0b2b975b45d..b7fb715a463 100644 --- a/user/tests/behat/contact_site_support.feature +++ b/user/tests/behat/contact_site_support.feature @@ -82,10 +82,10 @@ Feature: Contact site support method and availability can be customised When I log in as "user1" And I am on site homepage And I click on "Contact site support" "link" in the "page-footer" "region" - And I switch to the browser tab opened by the app + And I switch to a second window Then I should see "User One" in the "page-header" "region" And I should not see "Contact site support" in the "page-header" "region" - And I close the browser tab opened by the app + And I close all opened windows Scenario: Visiting the contact site support page directly will redirect to the custom support page if set Given the following config values are set as admin: