@appliqation/automation-sdk 2.1.2 → 2.1.3

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.
Files changed (2) hide show
  1. package/README.md +27 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -105,7 +105,8 @@ const appliqationConfig = {
105
105
  batchSubmit: true, // Batch results for efficiency
106
106
  batchSize: 50, // Results per batch
107
107
  logOrphans: true, // Log tests without UUID mappings
108
- logLevel: 'INFO' // INFO, DEBUG, ERROR
108
+ logLevel: 'INFO', // INFO, DEBUG, ERROR
109
+ rejectUnauthorized: false // Set to false for self-signed certificates in dev
109
110
  };
110
111
 
111
112
  module.exports = defineConfig({
@@ -655,6 +656,31 @@ npm install dotenv
655
656
 
656
657
  ---
657
658
 
659
+ #### ❌ Error: "unable to verify the first certificate" or SSL errors
660
+
661
+ **Cause:** Using self-signed SSL certificates in development environment
662
+
663
+ **Fix:**
664
+
665
+ Add `rejectUnauthorized: false` to your SDK configuration in `playwright.config.js`:
666
+
667
+ ```javascript
668
+ const appliqationConfig = {
669
+ baseUrl: process.env.APPLIQATION_BASE_URL,
670
+ apiKey: process.env.APPLIQATION_API_KEY,
671
+ projectKey: process.env.APPLIQATION_PROJECT_KEY,
672
+ environment: process.env.APPLIQATION_ENVIRONMENT,
673
+ title: process.env.APPLIQATION_RUN_TITLE,
674
+
675
+ // Add this for self-signed certificates
676
+ rejectUnauthorized: false // ⚠️ Only use in development!
677
+ };
678
+ ```
679
+
680
+ **⚠️ Security Note:** Only use `rejectUnauthorized: false` in development environments with self-signed certificates. In production with valid SSL certificates, remove this setting or set it to `true`.
681
+
682
+ ---
683
+
658
684
  #### ❌ Results not appearing in portal
659
685
 
660
686
  **Possible causes:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appliqation/automation-sdk",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Appliqation Automation SDK with API key authentication, custom run titles, and framework-specific reporters",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",