Commit 5614335
committed
feat: implement orchestrator RBAC e2e tests
- Refactor orchestrator-rbac.spec.ts to follow rbac.spec.ts pattern
- Add positive-only test flow for orchestrator.workflow permissions
- Create role with read and update permissions for rhdh-qe user
- Add API verification test to confirm role and policies exist
- Update UI test to navigate to greeting workflow and click Run button
- Add selectGreetingWorkflowItem() helper method to Orchestrator page object
- Remove unnecessary deny policy, guest user, and instance permission tests
- Fix table selector to work with actual page structure
- All tests now pass successfully (4/4 tests passing)
Tests verify:
1. Role creation with orchestrator.workflow (read) and orchestrator.workflow.use (update) permissions
2. API verification of created role and policies
3. UI verification that user can access orchestrator and execute greeting workflow
4. Proper cleanup of created roles and policies1 parent 029cb12 commit 5614335
File tree
5 files changed
+1693
-41
lines changed- .ibm/pipelines
- jobs
- resources/config_map
- e2e-tests/playwright
- e2e/plugins/orchestrator
- utils
5 files changed
+1693
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
1345 | 1323 | | |
1346 | 1324 | | |
1347 | 1325 | | |
| |||
1354 | 1332 | | |
1355 | 1333 | | |
1356 | 1334 | | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1362 | 1350 | | |
1363 | 1351 | | |
1364 | 1352 | | |
| |||
1397 | 1385 | | |
1398 | 1386 | | |
1399 | 1387 | | |
1400 | | - | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
1401 | 1400 | | |
1402 | 1401 | | |
1403 | 1402 | | |
| |||
1410 | 1409 | | |
1411 | 1410 | | |
1412 | 1411 | | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | 1412 | | |
1424 | | - | |
| 1413 | + | |
| 1414 | + | |
1425 | 1415 | | |
1426 | 1416 | | |
1427 | 1417 | | |
1428 | 1418 | | |
1429 | 1419 | | |
1430 | | - | |
| 1420 | + | |
1431 | 1421 | | |
1432 | 1422 | | |
1433 | 1423 | | |
| |||
0 commit comments