@browsermation/test 0.0.44 → 0.0.46

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/bin/cli.js CHANGED
@@ -42258,7 +42258,7 @@ var {
42258
42258
  // package.json
42259
42259
  var package_default = {
42260
42260
  name: "@browsermation/test",
42261
- version: "0.0.44",
42261
+ version: "0.0.46",
42262
42262
  description: "The testing platform for Playwright by Browsermation.",
42263
42263
  main: "./dist/index.js",
42264
42264
  types: "./dist/index.d.ts",
package/dist/index.js CHANGED
@@ -645,8 +645,12 @@ async function defineConfig(config) {
645
645
  tunnel: Array.isArray(config.webServer) ? config.webServer.find((server) => server.port)?.port : config.webServer.port
646
646
  }));
647
647
  }
648
- return {
648
+ const bmConfig = {
649
649
  ...config,
650
+ webServer: {
651
+ ...config.webServer,
652
+ url: tunnelUrl
653
+ },
650
654
  use: {
651
655
  ...config.use,
652
656
  baseURL: tunnelUrl,
@@ -655,6 +659,11 @@ async function defineConfig(config) {
655
659
  }
656
660
  }
657
661
  };
662
+ if (process.env.BM_DEBUG) {
663
+ console.log(source_default.yellow.bold("\u{1F527} BM_DEBUG is enabled. Configuration:"));
664
+ console.dir(bmConfig, { depth: null });
665
+ }
666
+ return bmConfig;
658
667
  }
659
668
 
660
669
  // node_modules/@playwright/test/index.mjs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browsermation/test",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "description": "The testing platform for Playwright by Browsermation.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",