Skip to content

Commit

Permalink
wait for delete url
Browse files Browse the repository at this point in the history
  • Loading branch information
vxsx committed Mar 25, 2016
1 parent 92352f1 commit 3753613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cms/tests/frontend/integration/helpers/cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module.exports = function (casperjs) {
this.click('.cms-pagetree [href*="delete"]'); // first one
}
})
.waitForUrl(/delete/)
.waitUntilVisible('input[type=submit]')
.then(function () {
this.click('input[type=submit]');
Expand Down

0 comments on commit 3753613

Please sign in to comment.