Skip to content

Commit

Permalink
fix: add CompareSetitng and update client version
Browse files Browse the repository at this point in the history
  • Loading branch information
CozyKourai committed Mar 21, 2019
1 parent c15c4c4 commit c724512
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"tar": "4.4.8",
"testcafe": "0.23.3",
"unzipper": "0.9.11",
"visualreview-client": "git+https://github.com/cozy/VisualReview-node-client.git#v0.0.2"
"visualreview-client": "git+https://github.com/cozy/VisualReview-node-client.git#v0.0.3"
},
"dependencies": {
"babel-preset-cozy-app": "1.2.2",
Expand Down
10 changes: 5 additions & 5 deletions testcafe/runner-drive.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ async function runRunner() {
//Init data : Unzip archive with files to upload
'testcafe/tests/helpers/init-data.js',

// //Tests !
'testcafe/tests/drive/navigation.js',
'testcafe/tests/drive/folder_sharing_scenario.js',
'testcafe/tests/drive/file_sharing_scenario.js',
'testcafe/tests/drive/viewer-feature.js',
// 'testcafe/tests/drive/navigation.js',
// 'testcafe/tests/drive/folder_sharing_scenario.js',
// 'testcafe/tests/drive/file_sharing_scenario.js',
// 'testcafe/tests/drive/viewer-feature.js',
'testcafe/tests/drive/public-viewer-feature.js'
// //Tests !
])
//emulation:cdpPort=9222 is used to set the download folder in headless mode
.browsers(['chrome:headless:emulation:cdpPort=9222 --start-maximized'])
Expand Down
2 changes: 1 addition & 1 deletion testcafe/tests/helpers/visualreview-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class VisualReviewTestcafe extends VisualReview {
this.options.protocol = 'https'
this.options.hostname = VISUALREVIEW_INSTANCE
this.options.compareSettings = {
precision: 4
precision: 40 //precision goes from 0 to 255
}
}

Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16234,9 +16234,9 @@ vfile@^2.0.0:
unist-util-stringify-position "^1.0.0"
vfile-message "^1.0.0"

"visualreview-client@git+https://github.com/cozy/VisualReview-node-client.git#v0.0.2":
version "0.0.2"
resolved "git+https://github.com/cozy/VisualReview-node-client.git#c8b0b4c033f6382fd78890c0ce90266f4899ad7d"
"visualreview-client@git+https://github.com/cozy/VisualReview-node-client.git#v0.0.3":
version "0.0.3"
resolved "git+https://github.com/cozy/VisualReview-node-client.git#8adafd5662ca81b6ab6196b6e6c9a7adb1ee0c8c"
dependencies:
request "^2.60.0"

Expand Down

0 comments on commit c724512

Please sign in to comment.