artes 1.1.38 → 1.1.40
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/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
const {
|
|
2
2
|
When,
|
|
3
3
|
context,
|
|
4
|
-
expect,
|
|
5
|
-
selector,
|
|
6
4
|
extractVarsFromResponse,
|
|
7
5
|
saveVar,
|
|
6
|
+
time,random
|
|
8
7
|
} = require("../helper/imports/commons");
|
|
9
8
|
const { api } = require("../helper/stepFunctions/exporter");
|
|
10
9
|
const Ajv = require("ajv");
|
|
@@ -288,7 +287,7 @@ When(
|
|
|
288
287
|
);
|
|
289
288
|
|
|
290
289
|
|
|
291
|
-
|
|
290
|
+
When(
|
|
292
291
|
"User sets {string} date {int} days from today",
|
|
293
292
|
async function (dateName, days) {
|
|
294
293
|
const expiresAt =
|
|
@@ -7,6 +7,7 @@ const {
|
|
|
7
7
|
context,
|
|
8
8
|
} = require("../helper/imports/commons");
|
|
9
9
|
const { assert, frame } = require("../helper/stepFunctions/exporter");
|
|
10
|
+
const Ajv = require("ajv");
|
|
10
11
|
|
|
11
12
|
// Check if a selector should be attached
|
|
12
13
|
Then("User expects {string} should be attached", async function (selector) {
|