Commit e09cbce
authored
feat: Integrate orchestration data retrieval into test observability and refactor getBuildStartData method (#43)
* feat: Implement Nightwatch Test Orchestration Module
- Added helpers.js for utility functions related to test orchestration.
- Created index.js to serve as the main entry point for the orchestration module.
- Introduced orchestrationUtils.js for managing orchestration settings and operations.
- Developed requestUtils.js for handling API requests to the BrowserStack orchestration API.
- Implemented testOrchestrationHandler.js to manage test orchestration operations.
- Added testOrchestrationIntegration.js for integrating orchestration with Nightwatch.
- Created testOrderingServer.js to handle communication with the BrowserStack server for test ordering.
- Updated requestHelper.js to improve error handling for API requests.
* feat: Enhance test file collection and orchestration logic with improved glob pattern matching
* feat: Refactor test orchestration logic to apply specific feature path for cucumber tests
* feat: Update cucumber feature path for API tests in Nightwatch globals
* feat: Update cucumber feature path handling to use ordered files
* feat: Add framework name to build data payload in OrchestrationUtils
* feat: Remove unused helper functions and debug logs from orchestration files
* feat: Update framework name comment in build data payload and enhance error logging in RequestUtils
* feat: Remove unused orchestration files and refactor helper functions for improved Git metadata handling
* style: eslint update
* feat: Remove framework name from build data payload in OrchestrationUtils
* feat: Enhance build details extraction by adding observability options
* feat: Add test observability options to project and build name retrieval
* feat: Enhance test orchestration by adding observability session check and improve git metadata handling
* feat: Add test observability session check to build data collection in orchestration
* feat: Refactor test orchestration logic to improve readability and maintainability
* feat: Validate smart selection mode in run smart selection settings
* fix: Corrected base branch retrieval by updating the string replacement for origin reference
* refactor: Change log level from info to debug for test orchestration messages
* feat: Integrate orchestration data retrieval into test observability and refactor getBuildStartData method
* fix: Correct syntax by adding missing semicolon in testObservability.js
* fix: Update test_orchestration data retrieval to use parent settings
* fix: Enhance feature branch validation in OrchestrationUtils
* fix: Correct base branch retrieval by adjusting symbolic ref path
* fix: Validate repository URL to ensure it is not empty or whitespace
* fix: Enhance feature branch retrieval by adding null and type checks
* fix: eslint fix1 parent 0bfd4ff commit e09cbce
File tree
3 files changed
+21
-11
lines changed- src
- testorchestration
- utils
3 files changed
+21
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
154 | 161 | | |
155 | 162 | | |
156 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
307 | 306 | | |
308 | 307 | | |
309 | 308 | | |
310 | | - | |
311 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
312 | 313 | | |
313 | 314 | | |
314 | | - | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
316 | 319 | | |
317 | 320 | | |
318 | 321 | | |
| |||
327 | 330 | | |
328 | 331 | | |
329 | 332 | | |
330 | | - | |
| 333 | + | |
331 | 334 | | |
332 | 335 | | |
333 | 336 | | |
| |||
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
351 | | - | |
| 354 | + | |
352 | 355 | | |
353 | 356 | | |
354 | 357 | | |
| |||
414 | 417 | | |
415 | 418 | | |
416 | 419 | | |
417 | | - | |
| 420 | + | |
418 | 421 | | |
419 | 422 | | |
420 | 423 | | |
| |||
442 | 445 | | |
443 | 446 | | |
444 | 447 | | |
445 | | - | |
| 448 | + | |
446 | 449 | | |
447 | 450 | | |
448 | 451 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
| 1060 | + | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| |||
0 commit comments