mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-12 23:54:27 +02:00
more test improvement wooo
This commit is contained in:
parent
4b5eb3d54d
commit
c7aeae7913
3 changed files with 48 additions and 7 deletions
|
@ -31,6 +31,7 @@ casper.start(
|
|||
|
||||
casper.waitFor(CasperUtils.waits.jsMount)
|
||||
.waitFor(CasperUtils.waits.commandVisible)
|
||||
.wait(1000)
|
||||
.then(
|
||||
CasperUtils.multiAssert(
|
||||
CasperUtils.asserts.visibleSelectors([
|
||||
|
@ -46,8 +47,10 @@ casper.start(
|
|||
this.mouse.click('div[data-id="remote"]');
|
||||
})
|
||||
.then(CasperUtils.waits.idVisible('levelIcon-remote1'))
|
||||
.then(CasperUtils.waits.idsVisible(
|
||||
.wait(1000)
|
||||
.then(CasperUtils.asserts.visibleIDs(
|
||||
levelIconIDsForPages(5, numLevelSequences)
|
||||
))
|
||||
.then(CasperUtils.screenshot.entirePage)
|
||||
.then(CasperUtils.testDone);
|
||||
}).run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue