allure-codeceptjs 3.3.3 → 3.4.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.
Files changed (2) hide show
  1. package/README.md +26 -26
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -75,39 +75,39 @@ import * as allure from "allure-js-commons";
75
75
  Feature("Signing in with a password");
76
76
  Scenario("Signing in with a correct password", async () => {
77
77
  await allure.description("The test checks if an active user with a valid password can sign in to the app.");
78
- await allure.epic("Signing in");
79
- await allure.tags("signin", "ui", "positive");
80
- await allure.issue("https://github.com/allure-framework/allure-js/issues/673", "ISSUE-673");
81
- await allure.owner("eroshenkoam");
82
- await allure.parameter("browser", "chrome");
83
-
84
- const user = await allure.step("Prepare the user", async () => {
85
- return await createAnActiveUserInDb();
78
+ await allure.epic("Signing in");
79
+ await allure.tags("signin", "ui", "positive");
80
+ await allure.issue("https://github.com/allure-framework/allure-js/issues/673", "ISSUE-673");
81
+ await allure.owner("eroshenkoam");
82
+ await allure.parameter("browser", "chrome");
83
+
84
+ const user = await allure.step("Prepare the user", async () => {
85
+ return await createAnActiveUserInDb();
86
+ });
87
+
88
+ await allure.step("Make a sign-in attempt", async () => {
89
+ await allure.step("Navigate to the sign-in page", async () => {
90
+ // ...
86
91
  });
87
92
 
88
- await allure.step("Make a sign-in attempt", async () => {
89
- await allure.step("Navigate to the sign-in page", async () => {
90
- // ...
91
- });
93
+ await allure.step("Fill the sign-in form", async (stepContext) => {
94
+ await stepContext.parameter("login", user.login);
95
+ await stepContext.parameter("password", user.password, "masked");
92
96
 
93
- await allure.step("Fill the sign-in form", async (stepContext) => {
94
- await stepContext.parameter("login", user.login);
95
- await stepContext.parameter("password", user.password, "masked");
96
-
97
- // ...
98
- });
97
+ // ...
98
+ });
99
99
 
100
- await allure.step("Submit the form", async () => {
101
- // ...
102
- // const responseData = ...
100
+ await allure.step("Submit the form", async () => {
101
+ // ...
102
+ // const responseData = ...
103
103
 
104
- await allure.attachment("response", JSON.stringify(responseData), { contentType: "application/json" });
105
- });
104
+ await allure.attachment("response", JSON.stringify(responseData), { contentType: "application/json" });
106
105
  });
106
+ });
107
107
 
108
- await allure.step("Assert the signed-in state", async () => {
109
- // ...
110
- });
108
+ await allure.step("Assert the signed-in state", async () => {
109
+ // ...
110
+ });
111
111
  });
112
112
  ```
113
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allure-codeceptjs",
3
- "version": "3.3.3",
3
+ "version": "3.4.1",
4
4
  "description": "Allure codeceptjs integration",
5
5
  "keywords": [
6
6
  "allure",
@@ -46,8 +46,8 @@
46
46
  "test": "vitest run"
47
47
  },
48
48
  "dependencies": {
49
- "allure-js-commons": "3.3.3",
50
- "allure-mocha": "3.3.3"
49
+ "allure-js-commons": "3.4.1",
50
+ "allure-mocha": "3.4.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@babel/cli": "^7.28.0",
@@ -66,20 +66,20 @@
66
66
  "@typescript-eslint/eslint-plugin": "^8.0.0",
67
67
  "@typescript-eslint/parser": "^8.0.0",
68
68
  "allure-commandline": "^2.29.0",
69
- "allure-vitest": "3.3.3",
69
+ "allure-vitest": "3.4.1",
70
70
  "babel-plugin-add-module-exports": "^1.0.4",
71
71
  "codeceptjs": "^3.6.10",
72
72
  "eslint": "^8.57.0",
73
73
  "eslint-config-prettier": "^10.0.0",
74
74
  "eslint-plugin-import": "^2.29.1",
75
- "eslint-plugin-jsdoc": "^50.0.0",
75
+ "eslint-plugin-jsdoc": "^54.0.0",
76
76
  "eslint-plugin-n": "^17.10.1",
77
77
  "eslint-plugin-no-null": "^1.0.2",
78
78
  "eslint-plugin-prefer-arrow": "^1.2.3",
79
79
  "npm-run-all2": "^8.0.0",
80
80
  "rimraf": "^6.0.0",
81
81
  "typescript": "^5.2.2",
82
- "vitest": "^3.0.5"
82
+ "vitest": "^3.2.4"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "codeceptjs": ">=2.3.6"