artes 1.0.11 → 1.0.13
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 +2 -2
- package/cucumber.config.js +1 -1
- package/package.json +1 -1
- package/src/helper/executers/projectCreator.js +1 -1
- package/src/stepDefinitions/assertions.steps.js +793 -0
- package/src/tests/stepDefinitions/assertions.steps.js +0 -769
- /package/{functionDefinitions.md → documents/functionDefinitions.md} +0 -0
- /package/{stepDefinitions.md → documents/stepDefinitions.md} +0 -0
- /package/src/{tests/stepDefinitions → stepDefinitions}/API.steps.js +0 -0
- /package/src/{tests/stepDefinitions → stepDefinitions}/frameActions.steps.js +0 -0
- /package/src/{tests/stepDefinitions → stepDefinitions}/keyboardActions.steps.js +0 -0
- /package/src/{tests/stepDefinitions → stepDefinitions}/mouseActions.steps.js +0 -0
- /package/src/{tests/stepDefinitions → stepDefinitions}/page.steps.js +0 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 🚀 Summary
|
|
8
8
|
|
|
9
|
-
Artes is a test runner for Playwright that executes [predefined Cucumber tests](./stepDefinitions.md) and can generate Allure reports for test results. It simplifies setting up Playwright with Cucumber in your automation workflow. With Artes, you can easily run tests without writing step definitions, generate reports, and customize your testing environment.
|
|
9
|
+
Artes is a test runner for Playwright that executes [predefined Cucumber tests](./documents/stepDefinitions.md) and can generate Allure reports for test results. It simplifies setting up Playwright with Cucumber in your automation workflow. With Artes, you can easily run tests without writing step definitions, generate reports, and customize your testing environment.
|
|
10
10
|
|
|
11
11
|
## 🧑💻 Installation
|
|
12
12
|
|
|
@@ -239,7 +239,7 @@ const { mouse, keyboard, frame, elementInteractions, page } = require("artes");
|
|
|
239
239
|
|
|
240
240
|
---
|
|
241
241
|
|
|
242
|
-
For a detailed explanation of each function, please refer to the [functionDefinitions.md](functionDefinitions.md).
|
|
242
|
+
For a detailed explanation of each function, please refer to the [functionDefinitions.md](./documents/functionDefinitions.md).
|
|
243
243
|
|
|
244
244
|
---
|
|
245
245
|
|
package/cucumber.config.js
CHANGED
|
@@ -25,7 +25,7 @@ module.exports = {
|
|
|
25
25
|
artesConfig.steps
|
|
26
26
|
? path.join(moduleConfig.projectPath, artesConfig.steps)
|
|
27
27
|
: moduleConfig.stepsPath,
|
|
28
|
-
"src/
|
|
28
|
+
"src/stepDefinitions/*.js",
|
|
29
29
|
"src/hooks/hooks.js",
|
|
30
30
|
], // Support code paths (CommonJS)
|
|
31
31
|
pomPath: artesConfig.pomPath
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artes",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "The package provide step definitions and user writes feature files, and the package handles automation, with optional POM files and custom step definitions.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -120,7 +120,7 @@ await context.page.goto("https://www.saucedemo.com/");
|
|
|
120
120
|
const vsCodeSettings = JSON.stringify({
|
|
121
121
|
"cucumber.glue": [
|
|
122
122
|
"tests/steps/*.{ts,js}",
|
|
123
|
-
"node_modules/artes/src/
|
|
123
|
+
"node_modules/artes/src/stepDefinitions/*.{ts,js}",
|
|
124
124
|
],
|
|
125
125
|
"cucumber.features": ["tests/features/*.features"],
|
|
126
126
|
"cucumberautocomplete.syncfeatures": true,
|