@uuv/playwright 3.13.0 → 3.14.0

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 (15) hide show
  1. package/dist/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.js +1 -1
  2. package/dist/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_link.js +1 -1
  3. package/dist/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_menuitem.js +1 -1
  4. package/dist/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.js +1 -1
  5. package/dist/cucumber/step_definitions/playwright/generated/enriched/fr/_fr-generated-steps-definition_checkbox.js +1 -1
  6. package/dist/cucumber/step_definitions/playwright/generated/enriched/fr/_fr-generated-steps-definition_link.js +1 -1
  7. package/dist/cucumber/step_definitions/playwright/generated/enriched/fr/_fr-generated-steps-definition_radio.js +1 -1
  8. package/package.json +2 -2
  9. package/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.ts +1 -1
  10. package/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_link.ts +1 -1
  11. package/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_menuitem.ts +1 -1
  12. package/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts +1 -1
  13. package/src/cucumber/step_definitions/playwright/generated/enriched/fr/_fr-generated-steps-definition_checkbox.ts +1 -1
  14. package/src/cucumber/step_definitions/playwright/generated/enriched/fr/_fr-generated-steps-definition_link.ts +1 -1
  15. package/src/cucumber/step_definitions/playwright/generated/enriched/fr/_fr-generated-steps-definition_radio.ts +1 -1
@@ -44,7 +44,7 @@ const test_1 = require("@playwright/test");
44
44
  * Triggers a click on the element with role $roleId and the specified name
45
45
  * */
46
46
  (0, cucumber_1.When)(`I click on checkbox named {string}`, async function (name) {
47
- await (0, core_engine_1.click)(this, "button", name);
47
+ await (0, core_engine_1.click)(this, "checkbox", name);
48
48
  });
49
49
  // End of Click Section
50
50
  // Begin of Type Section
@@ -44,7 +44,7 @@ const test_1 = require("@playwright/test");
44
44
  * Triggers a click on the element with role $roleId and the specified name
45
45
  * */
46
46
  (0, cucumber_1.When)(`I click on link named {string}`, async function (name) {
47
- await (0, core_engine_1.click)(this, "button", name);
47
+ await (0, core_engine_1.click)(this, "link", name);
48
48
  });
49
49
  // End of Click Section
50
50
  // Begin of Type Section
@@ -44,7 +44,7 @@ const test_1 = require("@playwright/test");
44
44
  * Triggers a click on the element with role $roleId and the specified name
45
45
  * */
46
46
  (0, cucumber_1.When)(`I click on menuitem named {string}`, async function (name) {
47
- await (0, core_engine_1.click)(this, "button", name);
47
+ await (0, core_engine_1.click)(this, "menuitem", name);
48
48
  });
49
49
  // End of Click Section
50
50
  // Begin of Type Section
@@ -44,7 +44,7 @@ const test_1 = require("@playwright/test");
44
44
  * Triggers a click on the element with role $roleId and the specified name
45
45
  * */
46
46
  (0, cucumber_1.When)(`I click on radio named {string}`, async function (name) {
47
- await (0, core_engine_1.click)(this, "button", name);
47
+ await (0, core_engine_1.click)(this, "radio", name);
48
48
  });
49
49
  // End of Click Section
50
50
  // Begin of Type Section
@@ -44,7 +44,7 @@ const test_1 = require("@playwright/test");
44
44
  * Déclenche un click sur l'élément Html ayant le rôle $roleId, le [nom accessible](https://russmaxdesign.github.io/html-elements-names/)
45
45
  * */
46
46
  (0, cucumber_1.When)(`je clique sur la case à cocher nommé {string}`, async function (name) {
47
- await (0, core_engine_1.click)(this, "button", name);
47
+ await (0, core_engine_1.click)(this, "checkbox", name);
48
48
  });
49
49
  // End of Click Section
50
50
  // Begin of Type Section
@@ -44,7 +44,7 @@ const test_1 = require("@playwright/test");
44
44
  * Déclenche un click sur l'élément Html ayant le rôle $roleId, le [nom accessible](https://russmaxdesign.github.io/html-elements-names/)
45
45
  * */
46
46
  (0, cucumber_1.When)(`je clique sur le lien nommé {string}`, async function (name) {
47
- await (0, core_engine_1.click)(this, "button", name);
47
+ await (0, core_engine_1.click)(this, "link", name);
48
48
  });
49
49
  // End of Click Section
50
50
  // Begin of Type Section
@@ -44,7 +44,7 @@ const test_1 = require("@playwright/test");
44
44
  * Déclenche un click sur l'élément Html ayant le rôle $roleId, le [nom accessible](https://russmaxdesign.github.io/html-elements-names/)
45
45
  * */
46
46
  (0, cucumber_1.When)(`je clique sur le bouton radio nommé {string}`, async function (name) {
47
- await (0, core_engine_1.click)(this, "button", name);
47
+ await (0, core_engine_1.click)(this, "radio", name);
48
48
  });
49
49
  // End of Click Section
50
50
  // Begin of Type Section
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uuv/playwright",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "type": "commonjs",
5
5
  "author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
6
6
  "description": "A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and playwright",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@cucumber/tag-expressions": "^6.0.0",
47
47
  "@playwright/test": "^1.44.1",
48
- "@uuv/runner-commons": "2.28.0",
48
+ "@uuv/runner-commons": "2.29.0",
49
49
  "axe-core": "4.10.0",
50
50
  "axe-playwright": "2.0.2",
51
51
  "chalk-table": "^1.0.2",
@@ -70,7 +70,7 @@ Then(
70
70
  * Triggers a click on the element with role $roleId and the specified name
71
71
  * */
72
72
  When(`I click on checkbox named {string}`, async function(this: World, name: string) {
73
- await click(this, "button", name);
73
+ await click(this, "checkbox", name);
74
74
  });
75
75
 
76
76
 
@@ -70,7 +70,7 @@ Then(
70
70
  * Triggers a click on the element with role $roleId and the specified name
71
71
  * */
72
72
  When(`I click on link named {string}`, async function(this: World, name: string) {
73
- await click(this, "button", name);
73
+ await click(this, "link", name);
74
74
  });
75
75
 
76
76
 
@@ -70,7 +70,7 @@ Then(
70
70
  * Triggers a click on the element with role $roleId and the specified name
71
71
  * */
72
72
  When(`I click on menuitem named {string}`, async function(this: World, name: string) {
73
- await click(this, "button", name);
73
+ await click(this, "menuitem", name);
74
74
  });
75
75
 
76
76
 
@@ -70,7 +70,7 @@ Then(
70
70
  * Triggers a click on the element with role $roleId and the specified name
71
71
  * */
72
72
  When(`I click on radio named {string}`, async function(this: World, name: string) {
73
- await click(this, "button", name);
73
+ await click(this, "radio", name);
74
74
  });
75
75
 
76
76
 
@@ -70,7 +70,7 @@ Then(
70
70
  * Déclenche un click sur l'élément Html ayant le rôle $roleId, le [nom accessible](https://russmaxdesign.github.io/html-elements-names/)
71
71
  * */
72
72
  When(`je clique sur la case à cocher nommé {string}`, async function(this: World, name: string) {
73
- await click(this, "button", name);
73
+ await click(this, "checkbox", name);
74
74
  });
75
75
 
76
76
 
@@ -70,7 +70,7 @@ Then(
70
70
  * Déclenche un click sur l'élément Html ayant le rôle $roleId, le [nom accessible](https://russmaxdesign.github.io/html-elements-names/)
71
71
  * */
72
72
  When(`je clique sur le lien nommé {string}`, async function(this: World, name: string) {
73
- await click(this, "button", name);
73
+ await click(this, "link", name);
74
74
  });
75
75
 
76
76
 
@@ -70,7 +70,7 @@ Then(
70
70
  * Déclenche un click sur l'élément Html ayant le rôle $roleId, le [nom accessible](https://russmaxdesign.github.io/html-elements-names/)
71
71
  * */
72
72
  When(`je clique sur le bouton radio nommé {string}`, async function(this: World, name: string) {
73
- await click(this, "button", name);
73
+ await click(this, "radio", name);
74
74
  });
75
75
 
76
76