fixed async role creation bug (#2180)
This commit is contained in:
parent
bbc0bcf8b2
commit
4cf460f4df
1 changed files with 4 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue