From d2fcaa515b785bf135b98dc8b542a570ef18dc12 Mon Sep 17 00:00:00 2001 From: Farhan Karmali Date: Mon, 12 May 2025 21:40:52 +0530 Subject: [PATCH] MDL-84485 webservice: Add Behat step for mobile web service selection This commit introduces a mandatory service selection step in our Behat tests to ensure consistent behavior in environments with multiple third-party services. --- .../tests/behat/siteadmin_webservice_token_breadcrumbs.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/webservice/tests/behat/siteadmin_webservice_token_breadcrumbs.feature b/webservice/tests/behat/siteadmin_webservice_token_breadcrumbs.feature index 8bd169e7098..d28b69a7a43 100644 --- a/webservice/tests/behat/siteadmin_webservice_token_breadcrumbs.feature +++ b/webservice/tests/behat/siteadmin_webservice_token_breadcrumbs.feature @@ -18,6 +18,7 @@ Feature: Verify the breadcrumbs in webservice tokens site administration pages And "Manage tokens" "link" should exist in the ".breadcrumb" "css_element" And "Web services" "link" should exist in the ".breadcrumb" "css_element" And I set the field "User" to "John Doe" + And I set the field "Service" to "Moodle mobile web service" And I press "Save changes" When I press "Delete" action in the "John Doe" report row Then "Delete token" "text" should exist in the ".breadcrumb" "css_element"