@qavajs/create 2.2.0 → 2.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/CHANGELOG.MD +6 -0
- package/README.md +10 -1
- package/package.json +19 -12
- package/templates/po.ejs +1 -1
- package/templates/readme.ejs +2 -2
package/CHANGELOG.MD
CHANGED
|
@@ -10,6 +10,12 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
|
|
|
10
10
|
|
|
11
11
|
:x: - deprecation
|
|
12
12
|
|
|
13
|
+
## [2.2.2]
|
|
14
|
+
- :beetle: fixed issue with mandatory ESM js extension
|
|
15
|
+
|
|
16
|
+
## [2.2.1]
|
|
17
|
+
- :beetle: fixed readme template
|
|
18
|
+
|
|
13
19
|
## [2.2.0]
|
|
14
20
|
- :x: removed template and soft assertion
|
|
15
21
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# @qavajs/create
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
The qavajs is a modular test automation framework designed to minimize setup time and streamline the development of test scripts. It incorporates the best test automation tools and practices into a single whole. The framework achieves efficiency through its built-in page object engine and ready-to-use sets of domain-agnostic step definitions suitable for both API and UI testing of the web and native mobile applications. Additionally, qavajs provides out of the box integration with ReportPortal, Mobitru, and the Xray and many more.
|
|
4
|
+
|
|
5
|
+
`@qavajs/create` is a CLI tool that streamlines the initialization of test automation projects using the qavajs framework. It facilitates the setup of a modular, low-code test automation environment tailored for UI and API testing across web and mobile platforms.
|
|
3
6
|
|
|
4
7
|
```
|
|
5
8
|
npm init @qavajs
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Tests
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
npm run test
|
|
6
15
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qavajs/create",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.2.2",
|
|
4
|
+
"description": "@qavajs init",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc",
|
|
@@ -10,26 +10,33 @@
|
|
|
10
10
|
"bin": {
|
|
11
11
|
"create-qavajs": "./index.js"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/qavajs/create.git"
|
|
15
16
|
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/qavajs/create/issues"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/qavajs",
|
|
16
21
|
"keywords": [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
22
|
+
"testing",
|
|
23
|
+
"qa",
|
|
24
|
+
"test-automation",
|
|
25
|
+
"qavajs"
|
|
19
26
|
],
|
|
20
27
|
"author": "Alexandr Galichenko",
|
|
21
28
|
"license": "MIT",
|
|
22
29
|
"dependencies": {
|
|
23
|
-
"@inquirer/prompts": "^7.
|
|
30
|
+
"@inquirer/prompts": "^7.8.6",
|
|
24
31
|
"ejs": "^3.1.10",
|
|
25
|
-
"fs-extra": "^11.3.
|
|
26
|
-
"typescript": "^5.
|
|
32
|
+
"fs-extra": "^11.3.2",
|
|
33
|
+
"typescript": "^5.9.3"
|
|
27
34
|
},
|
|
28
35
|
"devDependencies": {
|
|
29
36
|
"@types/ejs": "^3.1.5",
|
|
30
37
|
"@types/fs-extra": "^11.0.4",
|
|
31
|
-
"@types/node": "^
|
|
32
|
-
"@vitest/coverage-v8": "^3.
|
|
33
|
-
"vitest": "^3.
|
|
38
|
+
"@types/node": "^24.7.1",
|
|
39
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
40
|
+
"vitest": "^3.2.4"
|
|
34
41
|
}
|
|
35
42
|
}
|
package/templates/po.ejs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<% if (moduleSystem === 'ES Modules' || moduleSystem === 'Typescript') {-%>
|
|
2
|
-
<%-'import { locator } from "'-%><%-poModule%>";
|
|
2
|
+
<%-'import { locator } from "'-%><%-poModule%><% if (moduleSystem === 'ES Modules') {-%>.js<%}%>";
|
|
3
3
|
<%} else {-%>
|
|
4
4
|
<%-'const { locator } = require('%>"<%-poModule%>");
|
|
5
5
|
<%}%>
|
package/templates/readme.ejs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# qavajs
|
|
2
2
|
## Docs
|
|
3
|
-
https://qavajs.github.io/
|
|
3
|
+
https://qavajs.github.io/
|
|
4
4
|
## Install Modules
|
|
5
5
|
```bash
|
|
6
6
|
npm install
|
|
@@ -22,6 +22,6 @@ npm install
|
|
|
22
22
|
- [features](./features) - test cases
|
|
23
23
|
- [memory](./memory) - test data
|
|
24
24
|
- [page_object](./page_object) - page objects
|
|
25
|
-
- [
|
|
25
|
+
- [step_definition](./step_definition) - custom step definitions
|
|
26
26
|
- [report](./report) - reports
|
|
27
27
|
|