@zohodesk/testinglibrary 0.0.53-n20-experimental → 0.0.54-n20-experimental
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/README.md +0 -8
- package/build/common/data-generator/steps/DataGenerator.spec.js +1 -1
- package/build/common/data-generator/steps/DataGeneratorStepsHelper.js +4 -18
- package/build/core/dataGenerator/DataGenerator.js +15 -75
- package/build/core/playwright/builtInFixtures/cacheLayer.js +2 -196
- package/build/core/playwright/constants/reporterConstants.js +1 -0
- package/build/core/playwright/helpers/auth/getUsers.js +2 -2
- package/build/core/playwright/readConfigFile.js +1 -3
- package/build/core/playwright/reporter/PlaywrightReporter.js +44 -0
- package/build/core/playwright/reporter/UnitReporter.js +27 -0
- package/build/core/playwright/validateFeature.js +0 -11
- package/build/lib/cli.js +30 -7
- package/build/utils/commonUtils.js +9 -0
- package/changelog.md +0 -27
- package/npm-shrinkwrap.json +7625 -2922
- package/package.json +15 -11
- package/AUTO_CLEANUP_PLAN.md +0 -171
- package/build/core/dataGenerator/validateGenerators.js +0 -82
- package/build/core/playwright/report-generator.js +0 -42
- package/build/utils/timeFormat.js +0 -41
package/changelog.md
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
# Testing Framework
|
|
2
2
|
|
|
3
3
|
## Framework that abstracts the configuration for playwright and Jest
|
|
4
|
-
|
|
5
|
-
# 0.0.48-n20-experimental
|
|
6
|
-
|
|
7
|
-
## Data Generator — Global Index Discovery
|
|
8
|
-
- **Global generator index**: Replaced walk-up directory search with index-based global discovery. Generators in any module are now accessible from any feature file.
|
|
9
|
-
- **Deterministic modules root**: Uses `configConstants.TEST_SLICE_FOLDER + stage + 'modules'` instead of unreliable directory walk-up.
|
|
10
|
-
- **Configurable file pattern**: `generatorFilePattern` in `uat.config.js` (default: `*.generators.json`).
|
|
11
|
-
- **TicketBasic generator**: New generator without product step for Express/Free editions.
|
|
12
|
-
|
|
13
|
-
## Data Generator — Profile & Auth Improvements
|
|
14
|
-
- **Org-level DG fallback**: When scenario profile has no `data-generator` config, falls back to org-level from edition JSON.
|
|
15
|
-
|
|
16
|
-
## Auto-Cleanup V2
|
|
17
|
-
- **Co-located `*.cleanup.json` registry**: Each module defines cleanup rules alongside generators. Scanned globally.
|
|
18
|
-
- **Fixture teardown cleanup**: Runs after each scenario (pass or fail). Supports OAS, REST DELETE, REST PATCH.
|
|
19
|
-
- **`autoCleanup` config**: Enable/disable via `uat.config.js` (default: `true`).
|
|
20
|
-
- **Detailed logging**: Cleanup started/completed/success/failed with entity names and IDs.
|
|
21
|
-
|
|
22
|
-
## Portal Resolution — Capability Support
|
|
23
|
-
- **`capability` field**: Portals can define a `capability` field for DC-agnostic resolution.
|
|
24
|
-
- **Dual resolution**: `@portal_` tags resolve by `capability` first, then `orgName` fallback.
|
|
25
|
-
- **Backward compatible**: Existing `orgName`-based tags still work.
|
|
26
|
-
|
|
27
|
-
## Bug Fixes
|
|
28
|
-
- Fixed `#getModulesRoot` hitting nested `modules/` directories.
|
|
29
|
-
- Removed cleanup V1 — replaced by V2.
|
|
30
|
-
|
|
31
4
|
# 0.2.4
|
|
32
5
|
- Issue fixes on custom fixtures
|
|
33
6
|
- Page Fixture
|