diff --git a/e2e/test/scenarios/permissions/impersonated.cy.spec.js b/e2e/test/scenarios/permissions/impersonated.cy.spec.js
index 164b38d39144e85d44236215214c73fcccb21f2c..bdb636f4fa155400af31aab1c45001d2afb221d4 100644
--- a/e2e/test/scenarios/permissions/impersonated.cy.spec.js
+++ b/e2e/test/scenarios/permissions/impersonated.cy.spec.js
@@ -366,8 +366,11 @@ describeEE("impersonated permission", () => {
 });
 
 function savePermissions() {
-  cy.get("main").findByText("Save changes").click();
+  cy.findByTestId("edit-bar").button("Save changes").click();
   cy.findByRole("dialog").findByText("Yes").click();
+  cy.findByTestId("edit-bar")
+    .findByText("You've made changes to permissions.")
+    .should("not.exist");
 }
 
 function selectImpersonatedAttribute(attribute) {