From f4024218c4b9bc2a74723b4c39f46318567c320b Mon Sep 17 00:00:00 2001 From: Todd Schiller Date: Sun, 6 Oct 2024 18:23:05 -0400 Subject: [PATCH] Drop invalid page editor page object method --- .../pageObjects/pageEditor/pageEditorPage.ts | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/end-to-end-tests/pageObjects/pageEditor/pageEditorPage.ts b/end-to-end-tests/pageObjects/pageEditor/pageEditorPage.ts index 0bb0f45003..b3689ba157 100644 --- a/end-to-end-tests/pageObjects/pageEditor/pageEditorPage.ts +++ b/end-to-end-tests/pageObjects/pageEditor/pageEditorPage.ts @@ -238,34 +238,6 @@ export class PageEditorPage extends BasePageObject { await deactivateModModal.deactivateButton.click(); } - @ModifiesModFormState - async createModFromModComponent({ - modNameRoot, - modComponentName, - modUuid, - }: { - modNameRoot: string; - modComponentName: string; - modUuid: UUID; - }) { - const modName = `${modNameRoot} ${modUuid}`; - - const modListItem = - this.modListingPanel.getModListItemByName(modComponentName); - await modListItem.menuButton.click(); - await this.getByRole("menuitem", { name: "Add to mod" }).click(); - - await this.getByText("Select...Choose a mod").click(); - await this.getByRole("option", { name: /Create new mod.../ }).click(); - await this.getByRole("button", { name: "Move" }).click(); - - // Create mod modal is shown - const createModModal = new CreateModModal(this.getByRole("dialog")); - const modId = await createModModal.createMod(modName, modUuid); - - return { modName, modId }; - } - /** * This method is meant to be called exactly once after the test is done to clean up any saved mods created during the * test.