@smartbit4all/playwright-qa 0.2.0 → 0.2.2
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 +625 -618
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/steps/forms.d.ts +8 -0
- package/dist/steps/forms.d.ts.map +1 -1
- package/dist/steps/forms.js +72 -3
- package/dist/steps/forms.js.map +1 -1
- package/dist/steps/index.d.ts +1 -1
- package/dist/steps/index.d.ts.map +1 -1
- package/dist/steps/index.js +2 -1
- package/dist/steps/index.js.map +1 -1
- package/dist/utils/date-utils.d.ts +10 -0
- package/dist/utils/date-utils.d.ts.map +1 -0
- package/dist/utils/date-utils.js +37 -0
- package/dist/utils/date-utils.js.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +64 -55
- package/templates/ci/playwright-qa-pipeline.yml +54 -54
- package/templates/playwright-qa/package.json +14 -14
- package/templates/playwright-qa/playwright.config.ts +18 -18
- package/templates/playwright-qa/tsconfig.json +11 -11
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "PROJECT_NAME-playwright-qa",
|
|
3
|
-
"private": true,
|
|
4
|
-
"scripts": {
|
|
5
|
-
"test": "playwright test"
|
|
6
|
-
},
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"@smartbit4all/playwright-qa": "^0.1.0"
|
|
9
|
-
},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"@playwright/test": "^1.50.0",
|
|
12
|
-
"typescript": "^5.7.0"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "PROJECT_NAME-playwright-qa",
|
|
3
|
+
"private": true,
|
|
4
|
+
"scripts": {
|
|
5
|
+
"test": "playwright test"
|
|
6
|
+
},
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@smartbit4all/playwright-qa": "^0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"@playwright/test": "^1.50.0",
|
|
12
|
+
"typescript": "^5.7.0"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineConfig } from '@playwright/test';
|
|
2
|
-
import { getViewport } from '@smartbit4all/playwright-qa';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
testDir: './tests',
|
|
6
|
-
testMatch: /\.(spec|test|suite)\.[jt]sx?$/,
|
|
7
|
-
timeout: 60_000,
|
|
8
|
-
use: {
|
|
9
|
-
baseURL: process.env.BASE_URL || 'http://localhost:4200',
|
|
10
|
-
viewport: getViewport(),
|
|
11
|
-
},
|
|
12
|
-
workers: 1,
|
|
13
|
-
reporter: [
|
|
14
|
-
['list'],
|
|
15
|
-
['html', { open: 'never' }],
|
|
16
|
-
['junit', { outputFile: 'test-results/results.xml' }],
|
|
17
|
-
],
|
|
18
|
-
});
|
|
1
|
+
import { defineConfig } from '@playwright/test';
|
|
2
|
+
import { getViewport } from '@smartbit4all/playwright-qa';
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
testDir: './tests',
|
|
6
|
+
testMatch: /\.(spec|test|suite)\.[jt]sx?$/,
|
|
7
|
+
timeout: 60_000,
|
|
8
|
+
use: {
|
|
9
|
+
baseURL: process.env.BASE_URL || 'http://localhost:4200',
|
|
10
|
+
viewport: getViewport(),
|
|
11
|
+
},
|
|
12
|
+
workers: 1,
|
|
13
|
+
reporter: [
|
|
14
|
+
['list'],
|
|
15
|
+
['html', { open: 'never' }],
|
|
16
|
+
['junit', { outputFile: 'test-results/results.xml' }],
|
|
17
|
+
],
|
|
18
|
+
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"strict": true,
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
"resolveJsonModule": true
|
|
9
|
-
},
|
|
10
|
-
"include": ["steps/**/*", "suites/**/*", "types/**/*"]
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"strict": true,
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"resolveJsonModule": true
|
|
9
|
+
},
|
|
10
|
+
"include": ["steps/**/*", "suites/**/*", "types/**/*"]
|
|
11
|
+
}
|