From 5b41164b432473c046f01b0150357f44304c04d4 Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Tue, 27 Aug 2019 12:28:09 +0200 Subject: [PATCH] TT#56376 selenium: fix a button xpath controller_ncos.t: - fix the xpath of one edit button. it changed during ngcp-panel updates Change-Id: If313787bf5ec8c36c193de6a621d3b8495bce7c7 --- t/selenium/controller_ncos.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/selenium/controller_ncos.t b/t/selenium/controller_ncos.t index c8f6450fbf..4a829afd6a 100644 --- a/t/selenium/controller_ncos.t +++ b/t/selenium/controller_ncos.t @@ -191,7 +191,7 @@ ok($d->find_element_by_xpath('//*[@id="lnp_carriers_table"]/tbody/tr/td[contains ok($d->find_element_by_xpath('//*[@id="lnp_carriers_table"]/tbody/tr/td[contains(text(), "Rule for LNP Carrier 2")]'), "Description is correct"); diag("Edit NCOS settings"); -$d->find_element('//*[@id="number_patterns_extra"]/div[2]/a')->click(); +$d->find_element('//*[@id="number_patterns_extra"]//div//a')->click(); $d->select_if_unselected('//*[@id="local_ac"]'); $d->find_element('//*[@id="save"]')->click();