Skip to content

Commit

Permalink
fix merging fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
fungairino committed Jun 13, 2024
1 parent bd486d1 commit baeddcb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 30 deletions.
28 changes: 0 additions & 28 deletions end-to-end-tests/fixtures/mergedFixture.ts

This file was deleted.

7 changes: 6 additions & 1 deletion end-to-end-tests/fixtures/testBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
import { mergeTests } from "@playwright/test";
import { test as pageContextFixture } from "./pageContext";
import { test as envFixture } from "./environmentCheck";
import { test as modDefinitionsFixture } from "./modDefinitions";

export const test = mergeTests(pageContextFixture, envFixture);
export const test = mergeTests(
pageContextFixture,
envFixture,
modDefinitionsFixture,
);
export const { expect } = test;
2 changes: 1 addition & 1 deletion end-to-end-tests/tests/workshop/createMod.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { expect, test } from "../../fixtures/mergedFixture";
import { expect, test } from "../../fixtures/testBase";
// @ts-expect-error -- https://youtrack.jetbrains.com/issue/AQUA-711/Provide-a-run-configuration-for-Playwright-tests-in-specs-with-fixture-imports-only
import { test as base } from "@playwright/test";
import { WorkshopPage } from "../../pageObjects/extensionConsole/workshop/workshopPage";
Expand Down

0 comments on commit baeddcb

Please sign in to comment.