@percy/webdriver-utils 1.31.2-beta.0 → 1.31.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,7 +23,7 @@ export default class NormalizeData {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// Responses for browser version differ for devices and desktops from capabilities
|
|
26
|
-
//
|
|
26
|
+
// Differences in selenium and appium responses causes inconsistency
|
|
27
27
|
// So to tackle for devices on UI we will show device names else browser versions
|
|
28
28
|
browserVersionOrDeviceNameRollup(browserVersion, deviceName, device) {
|
|
29
29
|
if (device) {
|
|
@@ -150,7 +150,7 @@ export default class GenericProvider {
|
|
|
150
150
|
let fullscreen = false;
|
|
151
151
|
this.addDefaultOptions();
|
|
152
152
|
this.options.percyCSS = (this.options.percyCSS || '').split('\n').join('');
|
|
153
|
-
log.debug('Fetching
|
|
153
|
+
log.debug('Fetching comparison tag ...');
|
|
154
154
|
const tag = await this.getTag();
|
|
155
155
|
log.debug(`[${name}] : Tag ${JSON.stringify(tag)}`);
|
|
156
156
|
const tiles = await this.getTiles(fullscreen);
|
|
@@ -26,7 +26,7 @@ export default class PlaywrightProvider extends GenericProvider {
|
|
|
26
26
|
async screenshot(name, options) {
|
|
27
27
|
let response = null;
|
|
28
28
|
let error;
|
|
29
|
-
log.debug(`[${name}] : Preparing to capture screenshots on
|
|
29
|
+
log.debug(`[${name}] : Preparing to capture screenshots on playwright with automate ...`);
|
|
30
30
|
try {
|
|
31
31
|
log.debug(`[${name}] : Marking automate session as percy ...`);
|
|
32
32
|
const result = await this.percyScreenshotBegin(name);
|
|
@@ -36,7 +36,7 @@ export default class PlaywrightProvider extends GenericProvider {
|
|
|
36
36
|
this.setDebugUrl();
|
|
37
37
|
const tiles = await this.getTiles();
|
|
38
38
|
log.debug(`[${name}] : Tiles ${JSON.stringify(tiles)}`);
|
|
39
|
-
log.debug('Fetching
|
|
39
|
+
log.debug('Fetching comparison tag ...');
|
|
40
40
|
const tag = await this.getTag(tiles.tagData);
|
|
41
41
|
log.debug(`[${name}] : Tag ${JSON.stringify(tag)}`);
|
|
42
42
|
response = {
|
package/dist/util/cache.js
CHANGED
|
@@ -10,7 +10,7 @@ export default class Cache {
|
|
|
10
10
|
static dpr = 'dpr';
|
|
11
11
|
static resolution = 'resolution';
|
|
12
12
|
|
|
13
|
-
//
|
|
13
|
+
// maintenance
|
|
14
14
|
static lastTime = Date.now();
|
|
15
15
|
static timeout = 5 * 60 * 1000;
|
|
16
16
|
static async withCache(store, key, func, cacheExceptions = false) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/webdriver-utils",
|
|
3
|
-
"version": "1.31.2-beta.
|
|
3
|
+
"version": "1.31.2-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"test:coverage": "yarn test --coverage"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@percy/config": "1.31.2-beta.
|
|
33
|
-
"@percy/sdk-utils": "1.31.2-beta.
|
|
32
|
+
"@percy/config": "1.31.2-beta.1",
|
|
33
|
+
"@percy/sdk-utils": "1.31.2-beta.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c8ba03fdd3ab7543f741a68eb5c357e38b48129e"
|
|
36
36
|
}
|