Skip to content

Commit

Permalink
wait after opening sideframe
Browse files Browse the repository at this point in the history
  • Loading branch information
vxsx committed Mar 25, 2016
1 parent 2b2dbb0 commit 5257b05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cms/tests/frontend/integration/helpers/cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,13 @@ module.exports = function (casperjs) {
// open "Example.com" menu
this.click('.cms-toolbar-item-navigation li:first-child a');
})
// open "Administration"
// open "Pages"
.waitForSelector('.cms-toolbar-item-navigation-hover', function () {
this.click('.cms-toolbar-item-navigation-hover a[href*="/admin/cms/page"]');
})
// wait until sideframe is open
.waitUntilVisible('.cms-sideframe-frame');
.waitUntilVisible('.cms-sideframe-frame')
.wait(1000);
};
},

Expand Down

0 comments on commit 5257b05

Please sign in to comment.