test 0209 fix (#3404)

* test 0209 fix
This commit is contained in:
wojteknowacki 2023-03-22 11:58:51 +01:00 committed by GitHub
parent 15f8b6625c
commit 4fa11af37d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -255,8 +255,8 @@ describe("As an admin I want to manage categories", () => {
.get(BUTTON_SELECTORS.submit)
.click()
.waitForRequestAndCheckIfNoErrors("@CategoryBulkDelete");
getCategory(firstCategory.id).should("be.null");
getCategory(secondCategory.id).should("be.null");
cy.get(categoryRow(firstCategory.id)).should("not.exist");
cy.get(categoryRow(secondCategory.id)).should("not.exist");
});
},
);