Commit 88cf9fe
authored
chore(e2e): enable ConfigMap Runtime Test and Database Cleanup for Nightly Jobs (redhat-developer#2928)
* chore(e2e): RHIDP-7172 Plugin 'permission' fails during startup - Add PostgreSQL CLI installation to Dockerfile - Enhance database cleanup script with error handling and logging - Refactor ConfigMap handling and increase timeouts in tests - Remove unused UIhelper instantiation in config-map.spec.ts - Improve deployment restart with better logging and explicit timeouts
* Remove clear_database call from utils.sh and add it to periodic.sh
Signed-off-by: Gustavo Lira <guga.java@gmail.com>
* Remove clear_database call from utils.sh and add it to periodic.sh
Signed-off-by: Gustavo Lira <guga.java@gmail.com>
* Enable config-map.spec again
* fix(ci): Enable ConfigMap test and fix database cleanup in nightly jobs - Fix clear_database function call in ocp-nightly.sh (was calling clear-database instead of clear_database) - Enable ConfigMap runtime test by removing test.describe.skip - Integrate database cleanup into nightly CI pipeline for improved test reliability
* refactor(e2e): Update ConfigMap name in configuration test - Changed configMapName from "rhdh-backstage-app-config" to "app-config" for clarity and consistency in the test suite.
* Fix config-map name in e2e tests
* Enhance KubeClient functionality and update ConfigMap handling in e2e tests - Added methods to list and find ConfigMaps dynamically, improving test reliability. Updated logging for better traceability during ConfigMap updates.
* Refactor KubeClient to use a constant for ConfigMap names - Replaced inline array of possible ConfigMap names with a class constant for improved maintainability and clarity in the findAppConfigMap method.
* Update bulk-import.spec.ts to check button state - Changed expectation from button visibility to disabled state for improved accuracy in bulk import tests.
---------
Signed-off-by: Gustavo Lira <guga.java@gmail.com>1 parent 0f00683 commit 88cf9fe
File tree
7 files changed
+193
-24
lines changed- .ibm
- images
- pipelines
- jobs
- e2e-tests/playwright
- e2e
- configuration-test
- plugins
- utils
7 files changed
+193
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
63 | 115 | | |
64 | 116 | | |
65 | 117 | | |
| |||
144 | 196 | | |
145 | 197 | | |
146 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
147 | 213 | | |
148 | | - | |
| 214 | + | |
149 | 215 | | |
150 | 216 | | |
151 | 217 | | |
152 | 218 | | |
153 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
154 | 262 | | |
155 | 263 | | |
156 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
157 | 270 | | |
158 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
159 | 274 | | |
160 | 275 | | |
| 276 | + | |
161 | 277 | | |
162 | 278 | | |
163 | | - | |
| 279 | + | |
164 | 280 | | |
165 | 281 | | |
166 | 282 | | |
167 | | - | |
| 283 | + | |
168 | 284 | | |
169 | 285 | | |
170 | | - | |
| 286 | + | |
171 | 287 | | |
172 | 288 | | |
173 | 289 | | |
| |||
287 | 403 | | |
288 | 404 | | |
289 | 405 | | |
290 | | - | |
| 406 | + | |
291 | 407 | | |
292 | 408 | | |
293 | 409 | | |
294 | | - | |
| 410 | + | |
295 | 411 | | |
296 | | - | |
297 | 412 | | |
298 | 413 | | |
299 | 414 | | |
300 | 415 | | |
301 | | - | |
302 | 416 | | |
| 417 | + | |
303 | 418 | | |
304 | 419 | | |
305 | 420 | | |
| |||
320 | 435 | | |
321 | 436 | | |
322 | 437 | | |
323 | | - | |
| 438 | + | |
324 | 439 | | |
325 | 440 | | |
326 | 441 | | |
| |||
330 | 445 | | |
331 | 446 | | |
332 | 447 | | |
333 | | - | |
| 448 | + | |
334 | 449 | | |
335 | 450 | | |
336 | 451 | | |
337 | 452 | | |
338 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
339 | 459 | | |
340 | 460 | | |
341 | 461 | | |
342 | 462 | | |
| 463 | + | |
343 | 464 | | |
344 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
345 | 468 | | |
| 469 | + | |
346 | 470 | | |
347 | 471 | | |
348 | 472 | | |
349 | | - | |
| 473 | + | |
350 | 474 | | |
351 | 475 | | |
352 | 476 | | |
353 | 477 | | |
354 | 478 | | |
355 | 479 | | |
356 | 480 | | |
| 481 | + | |
357 | 482 | | |
358 | 483 | | |
359 | 484 | | |
360 | 485 | | |
361 | | - | |
| 486 | + | |
362 | 487 | | |
363 | 488 | | |
364 | 489 | | |
| |||
0 commit comments