@percy/webdriver-utils 1.31.1 → 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
- // Differenences in selenium and appium responses causes inconsistency
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 comparisong tag ...');
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 playwrght with automate ...`);
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 comparisong tag ...');
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 = {
@@ -10,7 +10,7 @@ export default class Cache {
10
10
  static dpr = 'dpr';
11
11
  static resolution = 'resolution';
12
12
 
13
- // maintainance
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.1",
3
+ "version": "1.31.2-beta.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "latest"
12
+ "tag": "beta"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -29,8 +29,8 @@
29
29
  "test:coverage": "yarn test --coverage"
30
30
  },
31
31
  "dependencies": {
32
- "@percy/config": "1.31.1",
33
- "@percy/sdk-utils": "1.31.1"
32
+ "@percy/config": "1.31.2-beta.1",
33
+ "@percy/sdk-utils": "1.31.2-beta.1"
34
34
  },
35
- "gitHead": "56d0fe4722eea63cfe8a6ea7aa02cf00d465a85d"
35
+ "gitHead": "c8ba03fdd3ab7543f741a68eb5c357e38b48129e"
36
36
  }