wait for load after changing role type (#35890)

* wait for load after changing role type

might stabilize the client test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* changed to wait in the loading spinner to disappear

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit
2024-12-16 14:39:58 +01:00
committed by GitHub
parent 7e08b095a3
commit 2979beadde

View File

@@ -68,6 +68,8 @@ export default class RoleMappingTab {
cy.findByTestId(this.#filterTypeDropdown).click();
cy.findByTestId(option).click();
cy.get('[role="progressbar"]').should("not.exist");
return this;
}