Skip to content

Commit

Permalink
[all] Adding reference files
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofferjs committed Jan 14, 2019
1 parent 831f4ad commit c7ec02b
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion backstop_data/engineScripts/puppet/onReady.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable import/no-commonjs, no-console */
module.exports = async (page, scenario, vp) => {
console.enableLogging()
console.log(`SCENARIO > ${scenario.label} (${vp.label})`)
console.log(`SCENARIO > ${scenario.label} (${vp.label}) ${scenario.url}`)
await require('./clickAndHoverHelper')(page, scenario)
console.disableLogging()
// add more ready handlers here...
Expand Down
19 changes: 18 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,23 @@ gulp.task('backstop', cb => {

gulp.task('backstop:approve', cb => {
backstop('approve', {
docker: true
docker: true,
config: './backstop_data/backstop.js'
})
})

gulp.task('backstop:reference', cb => {
backstop('reference', {
docker: true,
config: './backstop_data/backstop.js'
})
.then(() => {
gutil.log(gutil.colors.green('References created'))
})
.catch(() => {
throw new gutil.PluginError({
plugin: 'backstop',
message: 'Making references failed'
})
})
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"test-all": "lerna run test --stream",
"test:backstop": "gulp backstop",
"test:backstop:approve": "gulp backstop:approve",
"test:backstop:reference": "gulp backstop:reference",
"updated": "lerna updated",
"watch": "gulp watch",
"install-husky": "node node_modules/husky/bin/install",
Expand Down

0 comments on commit c7ec02b

Please sign in to comment.