playwright-checkpoint 0.1.0-beta.0 → 0.3.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.
- package/dist/cli/bin.cjs +1 -1
- package/dist/cli/bin.cjs.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.cjs +1 -1
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1729,7 +1729,7 @@ function createCheckpoint(globalConfig = {}) {
|
|
|
1729
1729
|
const base = playwright.test;
|
|
1730
1730
|
const test2 = base.extend({
|
|
1731
1731
|
checkpointManifest: [
|
|
1732
|
-
async (
|
|
1732
|
+
async ({}, use, testInfo) => {
|
|
1733
1733
|
const manifest = createCheckpointManifestRecord(testInfo);
|
|
1734
1734
|
try {
|
|
1735
1735
|
await use(manifest);
|
|
@@ -1743,7 +1743,7 @@ function createCheckpoint(globalConfig = {}) {
|
|
|
1743
1743
|
},
|
|
1744
1744
|
{ auto: true }
|
|
1745
1745
|
],
|
|
1746
|
-
testCheckpointConfig: async (
|
|
1746
|
+
testCheckpointConfig: async ({}, use) => {
|
|
1747
1747
|
let current = null;
|
|
1748
1748
|
const controller = {
|
|
1749
1749
|
set(config) {
|
|
@@ -1758,7 +1758,7 @@ function createCheckpoint(globalConfig = {}) {
|
|
|
1758
1758
|
};
|
|
1759
1759
|
await use(controller);
|
|
1760
1760
|
},
|
|
1761
|
-
deviceProfile: async (
|
|
1761
|
+
deviceProfile: async ({}, use, testInfo) => {
|
|
1762
1762
|
await use(createDeviceProfile(testInfo));
|
|
1763
1763
|
},
|
|
1764
1764
|
checkpoint: async ({ page, checkpointManifest, testCheckpointConfig }, use, testInfo) => {
|
|
@@ -3263,7 +3263,7 @@ registerBuiltinReporter(markdownReporter);
|
|
|
3263
3263
|
registerBuiltinReporter(mdxReporter);
|
|
3264
3264
|
|
|
3265
3265
|
// src/index.ts
|
|
3266
|
-
var VERSION = "0.1.0
|
|
3266
|
+
var VERSION = "0.1.0";
|
|
3267
3267
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3268
3268
|
0 && (module.exports = {
|
|
3269
3269
|
VERSION,
|