TT#56376 selenium: reload peak times page to prevent missing edit button

controller_billing:
- reload "Edit Peak Times" page, in order to get buttons working properly
without them suddendly going missing

Change-Id: I253d5e40cc7fde6fd7b444c6e094f24533dcd937
(cherry picked from commit 62ff706311)
changes/00/32800/1
Nico Schedel 6 years ago
parent e869e0b2ed
commit 01be7ca298

@ -217,6 +217,7 @@ $d->move_and_click('//*[@id="billing_profile_table"]/tbody/tr[1]//td//div//a[con
diag("Edit Wednesday");
ok($d->find_element_by_xpath('//*[@id="masthead"]//div//h2[contains(text(), "Off-peak-times")]'), "We are on the correct Page");
$d->refresh();
$d->move_and_click('//*[@id="content"]//table//tr[3]/td//a[text()[contains(., "Edit")]]', 'xpath', '//*[@id="masthead"]//div//h2[contains(text(), "Off-peak-times")]');
ok($d->find_text("Edit Wednesday"), 'Edit dialog was opened');

Loading…
Cancel
Save