@appliqation/automation-sdk 2.1.6 → 2.1.7
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": "@appliqation/automation-sdk",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
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",
|
|
@@ -153,7 +153,9 @@ async function getJWTToken(sdkConfig) {
|
|
|
153
153
|
title: sdkConfig.runTitle,
|
|
154
154
|
browsers: ['Chrome'], // Default browser for setup
|
|
155
155
|
device: 'Desktop',
|
|
156
|
-
|
|
156
|
+
// IMPORTANT: Always use Windows for JWT setup run to avoid WSL2/Linux detection issues
|
|
157
|
+
// The actual test runs will detect the correct OS from browser user agents
|
|
158
|
+
os: process.platform === 'darwin' ? 'macOS' : 'Windows', // Default to Windows (not Linux)
|
|
157
159
|
};
|
|
158
160
|
|
|
159
161
|
try {
|