From d24a43b1cc6f6b7ffcfec6edb01febb00e1e6143 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Mon, 3 Feb 2020 13:14:28 +0530 Subject: [PATCH] Fix feature test, failed due to change the label tag to span tag for the accessibility. --- web/regression/feature_utils/locators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/regression/feature_utils/locators.py b/web/regression/feature_utils/locators.py index d0471091d..b8169fa59 100644 --- a/web/regression/feature_utils/locators.py +++ b/web/regression/feature_utils/locators.py @@ -65,7 +65,7 @@ class NavMenuLocators: "//span[text()='{0}']//following::span[text()='{1}']" insert_bracket_pair_switch_btn = \ - "//div[label[normalize-space(text())='Insert bracket pairs?']]" \ + "//div[span[normalize-space(text())='Insert bracket pairs?']]" \ "//div[contains(@class,'toggle btn')]" backup_filename_txt_box_name = "file"