From 4fa11af37d1389dc71fb5584533a0f741b2bfae5 Mon Sep 17 00:00:00 2001 From: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:58:51 +0100 Subject: [PATCH] test 0209 fix (#3404) * test 0209 fix --- cypress/e2e/catalog/categories.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/catalog/categories.js b/cypress/e2e/catalog/categories.js index aebd3718c..faf7a5f56 100644 --- a/cypress/e2e/catalog/categories.js +++ b/cypress/e2e/catalog/categories.js @@ -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"); }); }, );