mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-01 00:25:15 +02:00
setting up for locale header change
This commit is contained in:
parent
73728bc733
commit
c1e7274c72
8 changed files with 45 additions and 10 deletions
31
src/__tests__/casperjs/locale_header_test.js
Normal file
31
src/__tests__/casperjs/locale_header_test.js
Normal file
|
@ -0,0 +1,31 @@
|
|||
var CasperUtils = require('./casperUtils').CasperUtils;
|
||||
|
||||
casper.start(
|
||||
CasperUtils.getUrl(),
|
||||
function() {
|
||||
this.test.assertTitle('Learn Git Branching');
|
||||
|
||||
casper.waitFor(CasperUtils.waits.jsMount)
|
||||
.then(CasperUtils.multiAssert(
|
||||
CasperUtils.asserts.visibleIDs([
|
||||
'commandLineHistory',
|
||||
'terminal',
|
||||
'interfaceWrapper',
|
||||
'mainVisSpace',
|
||||
'commandLineBar'
|
||||
]),
|
||||
CasperUtils.asserts.visibleSelectors([
|
||||
'div.visBackgroundColor',
|
||||
'p.commandLine'
|
||||
])
|
||||
))
|
||||
|
||||
.waitFor(CasperUtils.waits.allCommandsFinished)
|
||||
|
||||
.then(
|
||||
CasperUtils.asserts.visibleSelectors(['p.finished'])
|
||||
)
|
||||
|
||||
.then(CasperUtils.testDone);
|
||||
|
||||
}).run();
|
Loading…
Add table
Add a link
Reference in a new issue