artes 1.1.26 → 1.1.27

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": "artes",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "description": "The simplest way to automate UI and API tests using Cucumber-style steps.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,6 +20,7 @@ if (typeof cucumberConfig.baseURL === "object") {
20
20
 
21
21
  const requestContextOptions = {
22
22
  baseURL: baseURL,
23
+ ignoreHTTPSErrors: true
23
24
  };
24
25
 
25
26
  async function invokeRequest() {
@@ -68,8 +68,10 @@ Before(async function () {
68
68
  env_vars = JSON.parse(env_vars);
69
69
  context.vars = { ...context.vars, ...env_vars };
70
70
  } catch (err) {
71
- console.log("Error parsing environment variables JSON:", err);
71
+ console.error("Error parsing environment variables JSON:", err);
72
72
  }
73
+ }else{
74
+ console.error(`Environment file not found: ${envFilePath}`);
73
75
  }
74
76
 
75
77
  const { browser, context: browserContext } = await invokeBrowser();