@esimplicity/create-stack-tests 0.1.2 → 0.1.4
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.
|
@@ -82,7 +82,7 @@ function templates(packageName) {
|
|
|
82
82
|
clean: 'rm -rf .features-gen node_modules test-results storage cucumber-report playwright-report'
|
|
83
83
|
},
|
|
84
84
|
devDependencies: {
|
|
85
|
-
'@
|
|
85
|
+
'@esimplicity/stack-tests': '^0.1.0',
|
|
86
86
|
'@playwright/test': '^1.49.0',
|
|
87
87
|
'playwright-bdd': '^8.3.0',
|
|
88
88
|
dotenv: '^16.1.4',
|
|
@@ -108,7 +108,7 @@ function templates(packageName) {
|
|
|
108
108
|
UniversalAuthAdapter,
|
|
109
109
|
DefaultCleanupAdapter,
|
|
110
110
|
TuiTesterAdapter,
|
|
111
|
-
} from '@
|
|
111
|
+
} from '@esimplicity/stack-tests';
|
|
112
112
|
|
|
113
113
|
export const test = createBddTest({
|
|
114
114
|
createApi: ({ apiRequest }) => new PlaywrightApiAdapter(apiRequest),
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
registerSharedSteps,
|
|
133
133
|
registerHybridSuite,
|
|
134
134
|
registerTuiSteps,
|
|
135
|
-
} from '@
|
|
135
|
+
} from '@esimplicity/stack-tests/steps';
|
|
136
136
|
|
|
137
137
|
registerApiSteps(test);
|
|
138
138
|
registerUiSteps(test);
|
|
@@ -304,7 +304,7 @@ DEBUG=false
|
|
|
304
304
|
|
|
305
305
|
const readme = `# stack-tests
|
|
306
306
|
|
|
307
|
-
Generated Playwright + BDD test package powered by @
|
|
307
|
+
Generated Playwright + BDD test package powered by @esimplicity/stack-tests.
|
|
308
308
|
|
|
309
309
|
## Install
|
|
310
310
|
- Install deps in this folder: (see commands printed by the generator)
|
|
@@ -317,13 +317,13 @@ Generated Playwright + BDD test package powered by @kata/stack-tests.
|
|
|
317
317
|
|
|
318
318
|
## Structure
|
|
319
319
|
- \`features/api|ui|hybrid|tui\`: feature files
|
|
320
|
-
- \`features/steps/steps.ts\`: registers steps from @
|
|
320
|
+
- \`features/steps/steps.ts\`: registers steps from @esimplicity/stack-tests
|
|
321
321
|
- \`features/steps/fixtures.ts\`: creates the Playwright-BDD test with adapters
|
|
322
322
|
- \`playwright.config.ts\`: BDD-aware Playwright config with reporters
|
|
323
323
|
|
|
324
324
|
## Notes
|
|
325
325
|
- Edit \`playwright.config.ts\` projects/tags to match your repo.
|
|
326
|
-
- Keep @playwright/test and playwright-bdd versions aligned with @
|
|
326
|
+
- Keep @playwright/test and playwright-bdd versions aligned with @esimplicity/stack-tests peer ranges.
|
|
327
327
|
|
|
328
328
|
## TUI Testing (Optional)
|
|
329
329
|
To enable terminal user interface testing:
|