@dev-blinq/cucumber_client 1.0.1482-dev → 1.0.1484-dev
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.
|
@@ -81,24 +81,15 @@ async function browserNavigateForward() {
|
|
|
81
81
|
Then("Browser navigate forward", browserNavigateForward);
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @param {string} filePath the file path
|
|
84
|
+
* Use browser session "<path>"
|
|
85
|
+
* @param {string} filePath the file path to use for the browser session files
|
|
86
86
|
* @protect
|
|
87
87
|
*/
|
|
88
|
-
async function
|
|
89
|
-
await context.web.saveStoreState(filePath, this);
|
|
90
|
-
}
|
|
91
|
-
When("Store browser session {string}", storeBrowserSession);
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Reset browser session with session file "<path>"
|
|
95
|
-
* @param {string} filePath the file path or empty
|
|
96
|
-
* @protect
|
|
97
|
-
*/
|
|
98
|
-
async function resetBrowserSession(filePath) {
|
|
88
|
+
async function useBrowserSession(filePath) {
|
|
99
89
|
await context.web.restoreSaveState(filePath, this);
|
|
100
90
|
}
|
|
101
|
-
When("
|
|
91
|
+
When("Use browser session {string}", useBrowserSession);
|
|
92
|
+
|
|
102
93
|
|
|
103
94
|
/**
|
|
104
95
|
* Identify the text "<textAnchor>", climb "<climb>" levels in the page, validate text "<textToVerify>" can be found in the context
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-blinq/cucumber_client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1484-dev",
|
|
4
4
|
"description": " ",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@cucumber/tag-expressions": "^6.1.1",
|
|
40
40
|
"@dev-blinq/cucumber-js": "1.0.187-dev",
|
|
41
41
|
"@faker-js/faker": "^8.1.0",
|
|
42
|
-
"automation_model": "1.0.
|
|
42
|
+
"automation_model": "1.0.856-dev",
|
|
43
43
|
"axios": "^1.7.4",
|
|
44
44
|
"chokidar": "^3.6.0",
|
|
45
45
|
"create-require": "^1.1.1",
|