Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Commit

Permalink
fix: update after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly committed Nov 18, 2019
1 parent 4adf1d4 commit 830cb11
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -18,4 +18,4 @@ coverage/

actual/
diff/
test/images/local
test/images/local-baseline
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
"lint": "eslint lib/*",
"clean": "rimraf coverage build tmp",
"watch": "tsc -w",
"release": "np",
"release": "np --no-yarn",
"precompile": "npm run clean",
"prepublish": "npm run compile",
"prerelease": "npm run compile"
Expand Down
5 changes: 2 additions & 3 deletions test/conf/protractor.local.android.conf.js
Expand Up @@ -24,15 +24,14 @@ config.plugins = [
{
path: resolve(process.cwd(), './build/index.js'),
options: {
baselineFolder: resolve(process.cwd(), './test/images/baseline'),
baselineFolder: resolve(process.cwd(), './test/images/local-baseline'),
screenshotPath: resolve(process.cwd(), './test/images/'),
formatImageName: '{tag}-{logName}-{width}x{height}',
debug: false,
savePerInstance: true,
autoSaveBaseline: true,
blockOutStatusBar: true,
blockOutToolBar: true,
clearRuntimeFolder: true
blockOutToolBar: true
},
},
];
Expand Down
6 changes: 2 additions & 4 deletions test/conf/protractor.local.desktop.conf.js
Expand Up @@ -2,8 +2,6 @@ const { resolve } = require('path');
const { config } = require('./protractor.shared.conf');


// config.seleniumAddress = 'http://localhost:4444/wd/hub/';

config.multiCapabilities = [
{
browserName: 'chrome',
Expand All @@ -19,8 +17,8 @@ config.plugins = [
{
path: resolve(process.cwd(), './build/index.js'),
options: {
baselineFolder: resolve(process.cwd(), './test/images/local/baseline'),
screenshotPath: resolve(process.cwd(), './test/images/local/'),
baselineFolder: resolve(process.cwd(), './test/images/local-baseline'),
screenshotPath: resolve(process.cwd(), './test/images/'),
formatImageName: '{tag}-{logName}-{width}x{height}',
debug: false,
savePerInstance: true,
Expand Down
5 changes: 2 additions & 3 deletions test/conf/protractor.local.ios.conf.js
Expand Up @@ -53,15 +53,14 @@ config.plugins = [
{
path: resolve(process.cwd(), './build/index.js'),
options: {
baselineFolder: resolve(process.cwd(), './test/images/baseline'),
baselineFolder: resolve(process.cwd(), './test/images/local-baseline'),
screenshotPath: resolve(process.cwd(), './test/images/'),
formatImageName: '{tag}-{logName}-{width}x{height}',
debug: false,
savePerInstance: true,
autoSaveBaseline: true,
blockOutStatusBar: true,
blockOutToolBar: true,
clearRuntimeFolder: true
blockOutToolBar: true
},
},
];
Expand Down
2 changes: 1 addition & 1 deletion test/init.spec.ts
Expand Up @@ -7,7 +7,7 @@ import { normalize, join } from 'path'


describe('protractor-image-comparison local development initialization', () => {
const localBaseline = 'test/images/local';
const localBaseline = 'test/images/local-baseline';
const checkBaseline = 'check';
const firstButton = $('.uk-button:nth-child(1)');

Expand Down

0 comments on commit 830cb11

Please sign in to comment.