From 74830c60e8efb501559d9037d5be8ecc663cde3d Mon Sep 17 00:00:00 2001 From: Dominik Kawka <31955648+dominikkawka@users.noreply.github.com> Date: Wed, 7 Dec 2022 09:04:20 +0000 Subject: [PATCH] Fix typo in test function name (#3952) --- apps/admin-ui/cypress/e2e/clients_test.spec.ts | 2 +- apps/admin-ui/cypress/e2e/group_test.spec.ts | 4 ++-- .../support/pages/admin_console/manage/AttributesTab.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/admin-ui/cypress/e2e/clients_test.spec.ts b/apps/admin-ui/cypress/e2e/clients_test.spec.ts index 91bcdf67b3..6343d2f8eb 100644 --- a/apps/admin-ui/cypress/e2e/clients_test.spec.ts +++ b/apps/admin-ui/cypress/e2e/clients_test.spec.ts @@ -542,7 +542,7 @@ describe("Clients test", () => { attributesTab .addAttribute("crud_attribute_key", "crud_attribute_value") .save(); - attributesTab.asseertRowItemsEqualTo(1); + attributesTab.assertRowItemsEqualTo(1); commonPage .masthead() .checkNotificationMessage("The role has been saved", true); diff --git a/apps/admin-ui/cypress/e2e/group_test.spec.ts b/apps/admin-ui/cypress/e2e/group_test.spec.ts index f0d4f52a0e..8314f44acd 100644 --- a/apps/admin-ui/cypress/e2e/group_test.spec.ts +++ b/apps/admin-ui/cypress/e2e/group_test.spec.ts @@ -420,7 +420,7 @@ describe("Group test", () => { }); it("Remove attribute", () => { - attributesTab.deleteAttribute(1).asseertRowItemsEqualTo(1); + attributesTab.deleteAttribute(1).assertRowItemsEqualTo(1); groupPage.assertNotificationGroupUpdated(); }); @@ -429,7 +429,7 @@ describe("Group test", () => { .addAttribute("key", "value") .addAnAttributeButton() .revert() - .asseertRowItemsEqualTo(1); + .assertRowItemsEqualTo(1); }); }); diff --git a/apps/admin-ui/cypress/support/pages/admin_console/manage/AttributesTab.ts b/apps/admin-ui/cypress/support/pages/admin_console/manage/AttributesTab.ts index 6ef896cd1c..cdffecdbca 100644 --- a/apps/admin-ui/cypress/support/pages/admin_console/manage/AttributesTab.ts +++ b/apps/admin-ui/cypress/support/pages/admin_console/manage/AttributesTab.ts @@ -59,7 +59,7 @@ export default class AttributesTab { return this; } - public asseertRowItemsEqualTo(amount: number) { + public assertRowItemsEqualTo(amount: number) { cy.findAllByTestId("row").its("length").should("be.eq", amount); return this; }