@dev-blinq/cucumber_client 1.0.1205-dev → 1.0.1207-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.
@@ -150,6 +150,7 @@ async function runBrunoRequest(requestName) {
150
150
  await executeBrunoRequest(requestName, {}, context, this);
151
151
  }
152
152
 
153
+ When("Bruno - {string}", runBrunoRequest);
153
154
  When("bruno - {string}", runBrunoRequest);
154
155
 
155
156
  /**
@@ -164,4 +165,25 @@ async function verify_the_downloaded_file_exists(fileName) {
164
165
  }
165
166
 
166
167
  Then("Verify the file {string} exists", { timeout: 60000 }, verify_the_downloaded_file_exists);
167
- When("Noop", async function(){})
168
+
169
+ /**
170
+ * Verify the page url is "<url>"
171
+ * @param {string} url URL to be verified against current URL
172
+ * @protect
173
+ */
174
+
175
+ async function verify_page_url(url){
176
+ await context.web.verifyPagePath(url,{}, this);
177
+ }
178
+ Then("Verify the page url is {string}", verify_page_url);
179
+
180
+ /**
181
+ * Verify the page title is "<title>"
182
+ * @param {string} title Title to be verified against current Title
183
+ * @protect
184
+ */
185
+ async function verify_page_title(title){
186
+ await context.web.verifyPageTitle(title, {}, this);
187
+ }
188
+ Then("Verify the page title is {string}",verify_page_title)
189
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1205-dev",
3
+ "version": "1.0.1207-dev",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@cucumber/tag-expressions": "^6.1.1",
29
29
  "@dev-blinq/cucumber-js": "1.0.172-dev",
30
30
  "@faker-js/faker": "^8.1.0",
31
- "automation_model": "1.0.725-dev",
31
+ "automation_model": "1.0.726-dev",
32
32
  "axios": "^1.7.4",
33
33
  "chokidar": "^3.6.0",
34
34
  "create-require": "^1.1.1",