@digital-ai/devops-page-object-release 0.0.1
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/.eslintignore +5 -0
- package/.eslintrc.js +7 -0
- package/.turbo/turbo-build.log +12 -0
- package/.turbo/turbo-lint.log +11 -0
- package/.turbo/turbo-tsc.log +4 -0
- package/CHANGELOG.md +7 -0
- package/LICENSE.md +1 -0
- package/README.md +33 -0
- package/dist/main.js +2199 -0
- package/dist/main.js.map +1 -0
- package/dist/module.js +590 -0
- package/dist/module.js.map +1 -0
- package/dist/types.d.ts +205 -0
- package/dist/types.d.ts.map +1 -0
- package/fixtures/helper.ts +168 -0
- package/fixtures/index.ts +191 -0
- package/index.ts +1 -0
- package/package.json +46 -0
- package/pages/ApplicationsPage.ts +32 -0
- package/pages/EnvironmentsPage.ts +25 -0
- package/pages/FolderPage.ts +58 -0
- package/pages/LoginPage.ts +18 -0
- package/pages/PersonalAccessTokenPage.ts +20 -0
- package/pages/ReleasePage.ts +74 -0
- package/pages/ReleaseVariablesPage.ts +19 -0
- package/pages/ReleasesListPage.ts +18 -0
- package/pages/TriggersPage.ts +18 -0
- package/pages/WithPage.ts +9 -0
- package/pages/index.ts +25 -0
- package/pages/task-modal/CustomScriptTaskModal.ts +45 -0
- package/pages/task-modal/TaskModal.ts +19 -0
- package/tsconfig.json +32 -0
- package/types/index.ts +141 -0
package/.eslintignore
ADDED
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
> @digital-ai/devops-page-object-release@0.0.1 build /home/runner/work/devops-page-objects/devops-page-objects/apps/release
|
|
3
|
+
> parcel build --cache-dir .parcel-cache --dist-dir .dist
|
|
4
|
+
|
|
5
|
+
Building...
|
|
6
|
+
Bundling...
|
|
7
|
+
Packaging & Optimizing...
|
|
8
|
+
✨ Built in 5.21s
|
|
9
|
+
|
|
10
|
+
dist/main.js 81.08 KB 110ms
|
|
11
|
+
dist/module.js 22.55 KB 110ms
|
|
12
|
+
dist/types.d.ts 7.42 KB 96ms
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
> @digital-ai/devops-page-object-release@0.0.1 lint /home/runner/work/devops-page-objects/devops-page-objects/apps/release
|
|
3
|
+
> eslint . --ext .js,.jsx,.ts,.tsx
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/home/runner/work/devops-page-objects/devops-page-objects/apps/release/types/index.ts
|
|
7
|
+
34:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
8
|
+
41:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
9
|
+
|
|
10
|
+
✖ 2 problems (0 errors, 2 warnings)
|
|
11
|
+
|
package/CHANGELOG.md
ADDED
package/LICENSE.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
All materials included in this package are subject to your existing commercial license or subscription agreement terms with Digital.ai Software Inc. or its Affiliates.
|
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
## Release page objects
|
|
2
|
+
|
|
3
|
+
### Compatibility matrix
|
|
4
|
+
|
|
5
|
+
| devops-page-object-release | Digital.ai Release |
|
|
6
|
+
|----------------------------|:------------------:|
|
|
7
|
+
| 1.x | 22.3.x |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### How to use
|
|
11
|
+
|
|
12
|
+
Add the dependency into your project with your package manager of choice, ie:
|
|
13
|
+
|
|
14
|
+
```shell
|
|
15
|
+
yarn add --dev @digital-ai/devops-page-object-release
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
These page objects are base on Playwright, so you will also need that dependency:
|
|
19
|
+
|
|
20
|
+
```shell
|
|
21
|
+
yarn add --dev @playwright/test
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Add into your `package.json` the following script:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
"playwright:headless": "yarn playwright install && npx playwright test --project=XXXXX --config=your_path_to_your_config/playwright.config.ts",
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### License
|
|
32
|
+
|
|
33
|
+
All materials included in this package are subject to your existing commercial license or subscription agreement terms with Digital.ai Software Inc. or its Affiliates.
|