@uuv/runner-commons 2.52.0 → 2.54.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ # [2.54.0](https://github.com/e2e-test-quest/uuv/compare/runner-commons-v2.53.0...runner-commons-v2.54.0) (2025-07-03)
2
+
3
+
4
+ ### Features
5
+
6
+ * add sentence to check page title ([9f720c2](https://github.com/e2e-test-quest/uuv/commit/9f720c2e926b99a9f8beea093f0b9fc44dd1909c))
7
+
8
+ # [2.53.0](https://github.com/e2e-test-quest/uuv/compare/runner-commons-v2.52.0...runner-commons-v2.53.0) (2025-07-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update doc for grid and table sentences, [#1029](https://github.com/e2e-test-quest/uuv/issues/1029) ([751e12a](https://github.com/e2e-test-quest/uuv/commit/751e12ab912fa6890717526a4b5e15be7aeafb91))
14
+
15
+
16
+ ### Features
17
+
18
+ * add treegrid sentence, [#1029](https://github.com/e2e-test-quest/uuv/issues/1029) ([847462e](https://github.com/e2e-test-quest/uuv/commit/847462e75fd733ee332f197a1b72b331c0fe5b98))
19
+
1
20
  # [2.52.0](https://github.com/e2e-test-quest/uuv/compare/runner-commons-v2.51.0...runner-commons-v2.52.0) (2025-07-01)
2
21
 
3
22
 
@@ -114,6 +114,11 @@
114
114
  "description": "Start a keyboard navigation session from the top of the page<br/><a target='_blank' href='https://github.com/e2e-test-quest/uuv/blob/main/example/en-keyboard.feature'>Examples</a>",
115
115
  "wording": "I start a keyboard navigation from the top of the page"
116
116
  },
117
+ {
118
+ "key": "key.then.page.withTitle",
119
+ "description": "Checks the current html page have the specified title",
120
+ "wording": "I should see the page title {string}"
121
+ },
117
122
  {
118
123
  "key": "key.then.attributes.withValues",
119
124
  "description": "Checks Html attributes of the selected element",
@@ -181,12 +186,17 @@
181
186
  },
182
187
  {
183
188
  "key": "key.then.grid.withNameAndContent",
184
- "description": "Checks that there is a list with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nThen I should see a list named \"test-list\" and containing\\n| First element |\\n| Second element |\\n| Third element |\\n```",
189
+ "description": "Checks that there is a grid with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nWhen I visit path \"https://e2e-test-quest.github.io/simple-webapp/grid.html\"\\nThen I should see a grid named \"HTML Grid Example\" and containing\\n| Make | Model | Price |\\n| ------------ | ------- | ------ |\\n| Toyota | Celica | 35000 |\\n| Ford | Mondeo | 32000 |\\n| Porsche | Boxster | 72000 |\\n| BMW | M50 | 60000 |\\n| Aston Martin | DBX | 190000 |\\n```",
185
190
  "wording": "I should see a grid named {string} and containing"
186
191
  },
192
+ {
193
+ "key": "key.then.treegrid.withNameAndContent",
194
+ "description": "Checks that there is a treegrid with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nWhen I visit path \"https://e2e-test-quest.github.io/simple-webapp/treegrid.html\"\\nThen I should see a treegrid named \"HTML Treegrid Example\" and containing\\n| Make | Model | Price |\\n| ------------ | ------- | ------ |\\n| Toyota | Celica | 35000 |\\n| Ford | Mondeo | 32000 |\\n| Porsche | Boxster | 72000 |\\n| BMW | M50 | 60000 |\\n| Aston Martin | DBX | 190000 |\\n```",
195
+ "wording": "I should see a treegrid named {string} and containing"
196
+ },
187
197
  {
188
198
  "key": "key.then.table.withNameAndContent",
189
- "description": "Checks that there is a table with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nThen I should see a list named \"test-list\" and containing\\n| First element |\\n| Second element |\\n| Third element |\\n```",
199
+ "description": "Checks that there is a table with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nWhen I visit path \"https://e2e-test-quest.github.io/simple-webapp/table.html\"\\nThen I should see a table named \"test-list\" and containing\\n| Company | Contact | Country |\\n| ----------------------------- | ---------------- | ------- |\\n| Alfreds Futterkiste | Maria Anders | Germany |\\n| Centro comercial Moctezuma | Francisco Chang | Mexico |\\n| Ernst Handel | Roland Mendel | Austria |\\n| Island Trading | Helen Bennett | UK |\\n| Laughing Bacchus Winecellars | Yoshi Tannamuri | Canada |\\n| Magazzini Alimentari Riuniti | Giovanni Rovelli | Italy |\\n```",
190
200
  "wording": "I should see a table named {string} and containing"
191
201
  },
192
202
  {
@@ -46,6 +46,9 @@
46
46
  }
47
47
  },
48
48
  "then": {
49
+ "page": {
50
+ "withTitle": ""
51
+ },
49
52
  "element": {
50
53
  "withContent": "",
51
54
  "withRoleAndName": "",
@@ -81,6 +84,9 @@
81
84
  "grid": {
82
85
  "withNameAndContent": ""
83
86
  },
87
+ "treegrid": {
88
+ "withNameAndContent": ""
89
+ },
84
90
  "table": {
85
91
  "withNameAndContent": ""
86
92
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uuv/runner-commons",
3
- "version": "2.52.0",
3
+ "version": "2.54.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 common lib for uuv",
@@ -114,6 +114,11 @@
114
114
  "description": "Start a keyboard navigation session from the top of the page<br/><a target='_blank' href='https://github.com/e2e-test-quest/uuv/blob/main/example/en-keyboard.feature'>Examples</a>",
115
115
  "wording": "I start a keyboard navigation from the top of the page"
116
116
  },
117
+ {
118
+ "key": "key.then.page.withTitle",
119
+ "description": "Checks the current html page have the specified title",
120
+ "wording": "I should see the page title {string}"
121
+ },
117
122
  {
118
123
  "key": "key.then.attributes.withValues",
119
124
  "description": "Checks Html attributes of the selected element",
@@ -181,12 +186,17 @@
181
186
  },
182
187
  {
183
188
  "key": "key.then.grid.withNameAndContent",
184
- "description": "Checks that there is a list with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nThen I should see a list named \"test-list\" and containing\\n| First element |\\n| Second element |\\n| Third element |\\n```",
189
+ "description": "Checks that there is a grid with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nWhen I visit path \"https://e2e-test-quest.github.io/simple-webapp/grid.html\"\\nThen I should see a grid named \"HTML Grid Example\" and containing\\n| Make | Model | Price |\\n| ------------ | ------- | ------ |\\n| Toyota | Celica | 35000 |\\n| Ford | Mondeo | 32000 |\\n| Porsche | Boxster | 72000 |\\n| BMW | M50 | 60000 |\\n| Aston Martin | DBX | 190000 |\\n```",
185
190
  "wording": "I should see a grid named {string} and containing"
186
191
  },
192
+ {
193
+ "key": "key.then.treegrid.withNameAndContent",
194
+ "description": "Checks that there is a treegrid with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nWhen I visit path \"https://e2e-test-quest.github.io/simple-webapp/treegrid.html\"\\nThen I should see a treegrid named \"HTML Treegrid Example\" and containing\\n| Make | Model | Price |\\n| ------------ | ------- | ------ |\\n| Toyota | Celica | 35000 |\\n| Ford | Mondeo | 32000 |\\n| Porsche | Boxster | 72000 |\\n| BMW | M50 | 60000 |\\n| Aston Martin | DBX | 190000 |\\n```",
195
+ "wording": "I should see a treegrid named {string} and containing"
196
+ },
187
197
  {
188
198
  "key": "key.then.table.withNameAndContent",
189
- "description": "Checks that there is a table with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nThen I should see a list named \"test-list\" and containing\\n| First element |\\n| Second element |\\n| Third element |\\n```",
199
+ "description": "Checks that there is a table with the specified [name](https://russmaxdesign.github.io/html-elements-names/) containing list items.<br/> <u>Example</u>\\n```gherkin\\nWhen I visit path \"https://e2e-test-quest.github.io/simple-webapp/table.html\"\\nThen I should see a table named \"test-list\" and containing\\n| Company | Contact | Country |\\n| ----------------------------- | ---------------- | ------- |\\n| Alfreds Futterkiste | Maria Anders | Germany |\\n| Centro comercial Moctezuma | Francisco Chang | Mexico |\\n| Ernst Handel | Roland Mendel | Austria |\\n| Island Trading | Helen Bennett | UK |\\n| Laughing Bacchus Winecellars | Yoshi Tannamuri | Canada |\\n| Magazzini Alimentari Riuniti | Giovanni Rovelli | Italy |\\n```",
190
200
  "wording": "I should see a table named {string} and containing"
191
201
  },
192
202
  {
@@ -114,6 +114,11 @@
114
114
  "description": "Démarre une session de navigation au clavier à partir du haut de la page<br/><a target='_blank' href='https://github.com/e2e-test-quest/uuv/blob/main/example/fr-keyboard.feature'>Exemples</a>",
115
115
  "wording": "je commence une navigation au clavier depuis le haut de la page"
116
116
  },
117
+ {
118
+ "key": "key.then.page.withTitle",
119
+ "description": "Vérifie que la page courante a le bon titre",
120
+ "wording": "je dois voir le titre de page {string}"
121
+ },
117
122
  {
118
123
  "key": "key.then.attributes.withValues",
119
124
  "description": "Vérifie des attributs Html de l'élément sélectionné",
@@ -181,12 +186,17 @@
181
186
  },
182
187
  {
183
188
  "key": "key.then.grid.withNameAndContent",
184
- "description": "Vérifie qu'il existe une liste avec le nom et les éléments de liste spécifiés.<br/> <u>Exemple</u>\\n```gherkin\\nAlors je dois voir une liste nommée \"test-list\" et contenant\\n| Premier élément |\\n| Deuxième élément |\\n| Troisième élément |\\n```",
189
+ "description": "Vérifie qu'il existe une grille (grid) avec le nom et les éléments spécifiés.<br/> <u>Exemple</u>\\n```gherkin\\nQuand je visite l'Url \"https://e2e-test-quest.github.io/simple-webapp/grid.html\"\\nAlors je dois voir une liste nommée \"HTML Grid Example\" et contenant\\n| Make | Model | Price |\\n| ------------ | ------- | ------ |\\n| Toyota | Celica | 35000 |\\n| Ford | Mondeo | 32000 |\\n| Porsche | Boxster | 72000 |\\n| BMW | M50 | 60000 |\\n| Aston Martin | DBX | 190000 |\\n```",
185
190
  "wording": "je dois voir une grille nommée {string} et contenant"
186
191
  },
192
+ {
193
+ "key": "key.then.treegrid.withNameAndContent",
194
+ "description": "Vérifie qu'il existe une grille arborescente (treegrid) avec le nom et les éléments spécifiés.<br/> <u>Exemple</u>\\n```gherkin\\nQuand je visite l'Url \"https://e2e-test-quest.github.io/simple-webapp/treegrid.html\"\\nAlors je dois voir une liste nommée \"HTML Treegrid Example\" et contenant\\n| Make | Model | Price |\\n| ------------ | ------- | ------ |\\n| Toyota | Celica | 35000 |\\n| Ford | Mondeo | 32000 |\\n| Porsche | Boxster | 72000 |\\n| BMW | M50 | 60000 |\\n| Aston Martin | DBX | 190000 |\\n```",
195
+ "wording": "je dois voir une grille arborescente nommée {string} et contenant"
196
+ },
187
197
  {
188
198
  "key": "key.then.table.withNameAndContent",
189
- "description": "Vérifie qu'il existe une liste avec le nom et les éléments de liste spécifiés.<br/> <u>Exemple</u>\\n```gherkin\\nAlors je dois voir une liste nommée \"test-list\" et contenant\\n| Premier élément |\\n| Deuxième élément |\\n| Troisième élément |\\n```",
199
+ "description": "Vérifie qu'il existe un tableau (table) avec le nom et les éléments spécifiés.<br/> <u>Exemple</u>\\n```gherkin\\nQuand je visite l'Url \"https://e2e-test-quest.github.io/simple-webapp/table.html\"\\nAlors je dois voir un tableau nommée \"HTML Table Example\" et contenant\\n| Company | Contact | Country |\\n| ----------------------------- | ---------------- | ------- |\\n| Alfreds Futterkiste | Maria Anders | Germany |\\n| Centro comercial Moctezuma | Francisco Chang | Mexico |\\n| Ernst Handel | Roland Mendel | Austria |\\n| Island Trading | Helen Bennett | UK |\\n| Laughing Bacchus Winecellars | Yoshi Tannamuri | Canada |\\n| Magazzini Alimentari Riuniti | Giovanni Rovelli | Italy |\\n```",
190
200
  "wording": "je dois voir un tableau nommé {string} et contenant"
191
201
  },
192
202
  {