diff --git a/cypress/e2e/models/migration/controls/tagcategory.ts b/cypress/e2e/models/migration/controls/tagcategory.ts index ff3b7b78b..23c9ce584 100644 --- a/cypress/e2e/models/migration/controls/tagcategory.ts +++ b/cypress/e2e/models/migration/controls/tagcategory.ts @@ -27,7 +27,16 @@ import { submitForm, } from "../../../../utils/utils"; import { navMenu, navTab } from "../../../views/menu.view"; -import { button, controls, deleteAction, migration, SEC, tags, tdTag, trTag } from "../../../types/constants"; +import { + button, + controls, + deleteAction, + migration, + SEC, + tags, + tdTag, + trTag, +} from "../../../types/constants"; import { createTagCategoryButton, rankInput } from "../../../views/tags.view"; import * as commonView from "../../../views/common.view"; import { clickTags, fillName } from "./tags"; @@ -115,7 +124,7 @@ export class TagCategory { delete(cancel = false): void { // Opening tags list only if another tab is opened TagCategory.openList(); - + clickItemInKebabMenu(this.name, deleteAction); if (cancel) { click(commonView.confirmCancelButton); diff --git a/cypress/e2e/models/migration/controls/tags.ts b/cypress/e2e/models/migration/controls/tags.ts index b71622003..7c0a95d32 100644 --- a/cypress/e2e/models/migration/controls/tags.ts +++ b/cypress/e2e/models/migration/controls/tags.ts @@ -62,7 +62,7 @@ export class Tag { tagCategory: string; constructor(name: string, tagCategory: string) { - this.name = name + this.name = name; this.tagCategory = tagCategory; }