diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2017-12-13 22:06:06 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-12-13 22:06:06 +0100 |
commit | 2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99 (patch) | |
tree | aba81e2eedc8af3136af73af3beba04c092ff80c /t/bmo | |
parent | 48fe3a1e0a4a833aa14e7f95136d0e4542959eb8 (diff) | |
download | bugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.gz bugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.xz |
Bug 1376826 - New HTML Header for BMO
Diffstat (limited to 't/bmo')
-rw-r--r-- | t/bmo/passwords.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/bmo/passwords.t b/t/bmo/passwords.t index 249cdfb3c..83bea60be 100644 --- a/t/bmo/passwords.t +++ b/t/bmo/passwords.t @@ -198,7 +198,7 @@ sub click_and_type { my ($sel, $name, $text) = @_; eval { - my $el = $sel->find_element(qq{//input[\@name="$name"]}, 'xpath'); + my $el = $sel->find_element(qq{//*[\@id="bugzilla-body"]//input[\@name="$name"]}, 'xpath'); $el->click(); $sel->send_keys_to_active_element($text); pass("found $name and typed $text"); @@ -244,7 +244,7 @@ sub login { $sel->title_is("Log in to Bugzilla"); click_and_type($sel, 'Bugzilla_login', $login); click_and_type($sel, 'Bugzilla_password', $password); - submit($sel, '//input[@name="GoAheadAndLogIn"]'); + submit($sel, '//*[@id="bugzilla-body"]//input[@name="GoAheadAndLogIn"]'); } sub login_ok { |