fixed async role creation bug (#2180)

This commit is contained in:
Erik Jan de Wit 2022-03-03 08:45:44 +01:00 committed by GitHub
parent bbc0bcf8b2
commit 4cf460f4df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,16 +110,14 @@ describe("Realm roles test", () => {
describe("edit role details", () => {
const editRoleName = "going to edit";
const description = "some description";
before(() => {
before(() =>
adminClient.createRealmRole({
name: editRoleName,
description,
});
});
})
);
after(() => {
adminClient.deleteRealmRole(editRoleName);
});
after(() => adminClient.deleteRealmRole(editRoleName));
it("should edit realm role details", () => {
listingPage.itemExist(editRoleName).goToItemDetails(editRoleName);