]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: fix rgw configuration e2e test
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Thu, 11 Jul 2024 07:05:59 +0000 (12:35 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Thu, 11 Jul 2024 07:05:59 +0000 (12:35 +0530)
Fixes: https://tracker.ceph.com/issues/66901
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/configuration.po.ts

index a1f4a9fbaf0529716bd65c17b3be8b5d3ab57b07..3caa248b5ba5ade6d784fac86f6c8d9141b43d70 100644 (file)
@@ -18,8 +18,11 @@ export class ConfigurationPageHelper extends PageHelper {
     this.selectSecretEngine(secret_engine);
     cy.get('#secret_engine').should('have.class', 'ng-valid');
     cy.get('#address').type(address);
+    cy.get('#address').should('have.value', address);
     cy.get('#address').should('have.class', 'ng-valid');
     cy.contains('button', 'Submit').click();
+    cy.wait(500);
+    cy.get('cd-table').should('exist');
     this.getFirstTableCell('SSE_KMS').should('exist');
   }