@appliqation/automation-sdk 2.1.5 → 2.1.6
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.6",
|
|
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",
|
|
@@ -97,11 +97,21 @@ class AppliqationReporter {
|
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
//
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
// Get project names that are actually running (honors --project filter)
|
|
101
|
+
const runningProjectNames = this.getRunningProjectNames(suite);
|
|
102
|
+
logger.debug('Projects actually running:', runningProjectNames);
|
|
103
|
+
|
|
104
|
+
// Filter projects to only those that are:
|
|
105
|
+
// 1. Actually running (honors --project filter)
|
|
106
|
+
// 2. NOT API-specific projects
|
|
104
107
|
const browserProjects = config.projects.filter(project => {
|
|
108
|
+
// CRITICAL: Only include projects that are actually being executed
|
|
109
|
+
// This honors the --project CLI filter
|
|
110
|
+
if (runningProjectNames.length > 0 && !runningProjectNames.includes(project.name)) {
|
|
111
|
+
logger.debug(`Excluding project "${project.name}" - not in running projects list`);
|
|
112
|
+
return false;
|
|
113
|
+
}
|
|
114
|
+
|
|
105
115
|
// Check if testMatch is a custom API-specific pattern
|
|
106
116
|
if (project.testMatch) {
|
|
107
117
|
const testMatchStr = project.testMatch.toString();
|