Fix typo in test function name (#3952)

This commit is contained in:
Dominik Kawka 2022-12-07 09:04:20 +00:00 committed by GitHub
parent c1f545fb4c
commit 74830c60e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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);
});
});

View file

@ -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;
}