@wordpress/e2e-test-utils-playwright 0.15.0 → 0.16.0

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.
@@ -10,7 +10,7 @@ exports.openPreviewPage = void 0;
10
10
  */
11
11
  async function openPreviewPage() {
12
12
  const editorTopBar = this.page.locator('role=region[name="Editor top bar"i]');
13
- const previewButton = editorTopBar.locator('role=button[name="Preview"i]');
13
+ const previewButton = editorTopBar.locator('role=button[name="View"i]');
14
14
  await previewButton.click();
15
15
  const [previewPage] = await Promise.all([
16
16
  this.context.waitForEvent('page'),
@@ -1 +1 @@
1
- {"version":3,"file":"preview.js","sourceRoot":"","sources":["../../src/editor/preview.ts"],"names":[],"mappings":";;;AAUA;;;;;;GAMG;AACI,KAAK,UAAU,eAAe;IACpC,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CACrC,qCAAqC,CACrC,CAAC;IACF,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,CACzC,8BAA8B,CAC9B,CAAC;IAEF,MAAM,aAAa,CAAC,KAAK,EAAE,CAAC;IAE5B,MAAM,CAAE,WAAW,CAAE,GAAG,MAAM,OAAO,CAAC,GAAG,CAAE;QAC1C,IAAI,CAAC,OAAO,CAAC,YAAY,CAAE,MAAM,CAAE;QACnC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAE,2CAA2C,CAAE;KAC9D,CAAE,CAAC;IAEJ,OAAO,WAAW,CAAC;AACpB,CAAC;AAhBD,0CAgBC"}
1
+ {"version":3,"file":"preview.js","sourceRoot":"","sources":["../../src/editor/preview.ts"],"names":[],"mappings":";;;AAUA;;;;;;GAMG;AACI,KAAK,UAAU,eAAe;IACpC,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CACrC,qCAAqC,CACrC,CAAC;IACF,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,CAAE,2BAA2B,CAAE,CAAC;IAE1E,MAAM,aAAa,CAAC,KAAK,EAAE,CAAC;IAE5B,MAAM,CAAE,WAAW,CAAE,GAAG,MAAM,OAAO,CAAC,GAAG,CAAE;QAC1C,IAAI,CAAC,OAAO,CAAC,YAAY,CAAE,MAAM,CAAE;QACnC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAE,2CAA2C,CAAE;KAC9D,CAAE,CAAC;IAEJ,OAAO,WAAW,CAAC;AACpB,CAAC;AAdD,0CAcC"}
@@ -1 +1 @@
1
- {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../src/editor/preview.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;GAEG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAE,IAAI,EAAE,MAAM,GAAI,OAAO,CAAE,IAAI,CAAE,CAgBrE"}
1
+ {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../src/editor/preview.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;GAEG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAE,IAAI,EAAE,MAAM,GAAI,OAAO,CAAE,IAAI,CAAE,CAcrE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/e2e-test-utils-playwright",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "End-To-End (E2E) test utils for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -30,9 +30,9 @@
30
30
  "main": "./build/index.js",
31
31
  "types": "./build-types",
32
32
  "dependencies": {
33
- "@wordpress/api-fetch": "^6.44.0",
34
- "@wordpress/keycodes": "^3.47.0",
35
- "@wordpress/url": "^3.48.0",
33
+ "@wordpress/api-fetch": "^6.45.0",
34
+ "@wordpress/keycodes": "^3.48.0",
35
+ "@wordpress/url": "^3.49.0",
36
36
  "change-case": "^4.1.2",
37
37
  "form-data": "^4.0.0",
38
38
  "get-port": "^5.1.1",
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "d98dff8ea96f29cfea045bf964269f46f040d539"
49
+ "gitHead": "fcf61b4beff747222c2c81d09d757ca1a0abd925"
50
50
  }