]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix login and notification e2e tests 57992/head
authorAfreen Misbah <afreen23.git@gmail.com>
Wed, 12 Jun 2024 15:50:04 +0000 (21:20 +0530)
committerAfreen Misbah <afreen23.git@gmail.com>
Wed, 12 Jun 2024 15:50:04 +0000 (21:20 +0530)
Fixes https://tracker.ceph.com/issues/66453

- `#rbdMirroring` checkbox is not found due to which both of these tests are failing on most of the Prs
- this is due to the pool helper function which checks for an existing app passed in parameter
- if app is not found, then mirroring checkbox remains hidden

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
src/pybind/mgr/dashboard/frontend/cypress/e2e/cluster/logs.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/notification.e2e-spec.ts

index 606f6a3cd9df6a3ee2b73841b37639fc0a5eded2..87184a1e2412818fdebcd649ae00716994ac1112 100644 (file)
@@ -46,7 +46,7 @@ describe('Logs page', () => {
   describe('audit logs respond to pool creation and deletion test', () => {
     it('should create pool and check audit logs reacted', () => {
       pools.navigateTo('create');
-      pools.create(poolname, 8);
+      pools.create(poolname, 8, 'rbd');
       pools.navigateTo();
       pools.existTableCell(poolname, true);
       logs.checkAuditForPoolFunction(poolname, 'create', hour, minute);
index 1f7e57325cebb83831007b7f07acd9df3d073431..18948f0d4080125668398b2c6aa0ee9be54289fe 100644 (file)
@@ -9,7 +9,7 @@ describe('Notification page', () => {
   before(() => {
     cy.login();
     pools.navigateTo('create');
-    pools.create(poolName, 8);
+    pools.create(poolName, 8, 'rbd');
     pools.edit_pool_pg(poolName, 4, false);
   });