Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
[JENKINS-40662] makes more sense to pause for location change any tim…
Browse files Browse the repository at this point in the history
…e the modal is closed as this will ensure downstream actions occur after the navigation is completed
  • Loading branch information
Cliff Meyers committed Jan 3, 2017
1 parent a7765b9 commit cae8131
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -151,9 +151,9 @@ module.exports.commands = [{
const browser = self.api;
self.waitForElementVisible('@closeButton');
self.click('@closeButton');
self.waitForLocationChange();

if (urlFragment) {
self.waitForLocationChange();
browser.assert.urlContains(urlFragment);
}

Expand Down

0 comments on commit cae8131

Please sign in to comment.