Skip to content

Commit

Permalink
fix(smoke-test): missing test for move domain (#10837)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal-kankriya authored Jul 4, 2024
1 parent ae9f1fb commit 3f29a0b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions smoke-test/tests/cypress/cypress/e2e/domains/nested_domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,19 @@ describe("Verify nested domains test functionalities", () => {
clearAndDelete();
});

it("verify Move domain root level to parent level", () => {
cy.waitTextVisible(domainName);
moveDomaintoRootLevel();
cy.waitTextVisible("Moved Domain!");
cy.ensureTextNotPresent("Moved Domain!");
cy.goToDomainList();
cy.waitTextVisible("1 sub-domain");
});

it("Verify Move domain parent level to root level", () => {
moveDomaintoParent();
cy.waitTextVisible("Moved Domain!");
cy.ensureTextNotPresent("Moved Domain!");
cy.goToDomainList();
cy.waitTextVisible(domainName);
});
Expand Down

0 comments on commit 3f29a0b

Please sign in to comment.