TT#68016 selenium: another "crash on select list elements" workaround

controller_header.t:
- select value by opening up element list with move_and_click() first,
then select the actual element

Change-Id: Ib7d5d4bd7cf7a793f00877176f7b2b0746c85d97
changes/37/35337/1
Nico Schedel 6 years ago
parent 68d9d87308
commit 2a38a14086

@ -115,6 +115,7 @@ $d->find_element('//*[@id="priority"]')->click();
sleep 1;
$d->fill_element('//*[@id="priority"]', 'xpath', '1');
$d->fill_element('//*[@id="name"]', 'xpath', $headerrule);
$d->move_and_click('//*[@id="direction"]', 'xpath', '//*[@id="mod_edit"]/div/h3[contains(text(), "Edit Header Rules")]');
$d->find_element('//*[@id="direction"]/option[@value="outbound"]')->click();
$d->fill_element('//*[@id="description"]', 'xpath', 'this is a very nice description');
$d->select_if_unselected('//*[@id="stopper"]');

Loading…
Cancel
Save