From c1d44340a500d8991fc0ca0ec68d339227b53b23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20Mudr=C3=A1k?= Date: Thu, 28 Apr 2016 18:39:59 +0200 Subject: [PATCH] MDL-53980 lang: Fix the reworded strings in Behat tests --- admin/tool/lp/tests/behat/framework_crud.feature | 4 ++-- tag/tests/behat/edit_tag.feature | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/tool/lp/tests/behat/framework_crud.feature b/admin/tool/lp/tests/behat/framework_crud.feature index 75236ca260d..27b6f95ddbb 100644 --- a/admin/tool/lp/tests/behat/framework_crud.feature +++ b/admin/tool/lp/tests/behat/framework_crud.feature @@ -18,9 +18,9 @@ Feature: Manage competency frameworks And I should see "General" And I should see "Taxonomies" And I set the field "Name" to "Science Year-1" - And I set the field "Id number" to "Comp-frm-1" + And I set the field "ID number" to "Comp-frm-1" And I press "Save changes" - And I should see "You must configure the scale by selecting default and proficient values" + And I should see "The scale needs to be configured by selecting default and proficient items." And "Configure scales" "button" should be visible And I press "Configure scales" And I click on "//input[@data-field='tool_lp_scale_default_1']" "xpath_element" diff --git a/tag/tests/behat/edit_tag.feature b/tag/tests/behat/edit_tag.feature index 8ae1193c7e6..1e80f20f345 100644 --- a/tag/tests/behat/edit_tag.feature +++ b/tag/tests/behat/edit_tag.feature @@ -162,7 +162,7 @@ Feature: Users can edit tags to add description or rename And I click on "Edit tag name" "link" in the "Turtle" "table_row" And I set the field "New name for tag Turtle" to "DOG" And I press key "13" in the field "New name for tag Turtle" - And I should see "This tag name is already used, do you want to combine these tags?" + And I should see "The tag name is already in use. Do you want to combine these tags?" And I press "Cancel" And "New name for tag" "field" should not exist And I should see "Turtle" @@ -192,7 +192,7 @@ Feature: Users can edit tags to add description or rename And I click on "Edit tag name" "link" in the "Turtle" "table_row" And I set the field "New name for tag Turtle" to "DOG" And I press key "13" in the field "New name for tag Turtle" - And I should see "This tag name is already used, do you want to combine these tags?" + And I should see "The tag name is already in use. Do you want to combine these tags?" And I press "Yes" Then I should not see "Turtle" And I should not see "DOG" -- 2.43.0