simple-playwright-framework 0.0.13 → 0.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-playwright-framework",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "A modular Playwright framework with fixtures, loaders, and demo scaffolding.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -68,12 +68,15 @@ export default defineConfig({
68
68
  testDir: './tests',
69
69
  reporter: [['html']],
70
70
  use: {
71
- // Default environment for scenarioLoader
72
- env: process.env.TEST_ENV || "prod",
71
+ // keep Playwright's own options here
73
72
  },
74
73
  });
74
+
75
+ // ✅ Default environment set to "prod"
76
+ process.env.TEST_ENV = process.env.TEST_ENV || "prod";
75
77
  `);
76
78
 
79
+
77
80
  // -------------------- environments.json --------------------
78
81
  writeFileSafe(path.join(demoDir, "config/environments.json"),
79
82
  JSON.stringify({