Skip to content
This repository was archived by the owner on Feb 25, 2018. It is now read-only.

Commit 6a769c9

Browse files
committed
Update visual regression test screenshots.
1 parent 707763e commit 6a769c9

8 files changed

Lines changed: 8 additions & 8 deletions

fixtures/coffeemachine_test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
casper.start('fixtures/coffeemachine.html').then(function(){
1+
casper.start('fixtures/coffeemachine.html').then(function () {
22
phantomcss.screenshot('#coffee-machine-wrapper', 'open coffee machine button');
3-
}).then(function(){
3+
}).then( function () {
44
casper.click('#coffee-machine-button');
55

66
casper.waitForSelector('#myModal:not([style*="display: none"])',
7-
function success(){
7+
function success () {
88
phantomcss.screenshot('#myModal', 'coffee machine dialog');
99
},
10-
function timeout(){
10+
function timeout () {
1111
casper.test.fail('Should see coffee machine');
1212
}
1313
);
14-
}).then(function(){
14+
}).then( function () {
1515
casper.click('#cappuccino-button');
1616
phantomcss.screenshot('#myModal', 'cappuccino success');
17-
}).then(function(){
17+
}).then( function () {
1818
casper.click('#close');
1919

2020
// wait for modal to fade-out
2121
casper.waitForSelector('#myModal[style*="display: none"]',
22-
function success(){
22+
function success () {
2323
phantomcss.screenshot('#coffee-machine-wrapper', 'coffee machine close success');
2424
},
25-
function timeout(){
25+
function timeout () {
2626
casper.test.fail('Should be able to walk away from the coffee machine');
2727
}
2828
);
11.2 KB
Loading
3.22 KB
Loading
2.42 KB
Loading
14 KB
Loading
3.69 KB
Loading
7.64 KB
Loading
2.42 KB
Loading

0 commit comments

Comments
 (0)