Skip to content

Commit

Permalink
Remove mocks from test
Browse files Browse the repository at this point in the history
  • Loading branch information
lsolcher committed Dec 5, 2024
1 parent 5a952fa commit 928c397
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 122 deletions.
4 changes: 0 additions & 4 deletions packages/dito/tests/playwright/e2e/general.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { expect, test } from "@playwright/test";
import allRoutes from "resources/allRoutes";
import { preCheck } from "resources/content";
import * as staticRoutes from "resources/staticRoutes";
import { mockGraphQLMainPrinciplePage } from "../utils/mocks.ts";

test.describe("test general availability", () => {
test.afterEach(async ({ context }) => {
Expand All @@ -21,9 +20,6 @@ test.describe("test general availability", () => {
page,
}) => {
test.setTimeout(90000);
// Intercept and mock backend GraphQL requests
await mockGraphQLMainPrinciplePage(page);

// Remove first page from allRoutes array
for (const route of allRoutes.slice(1)) {
if (route.url.endsWith(".pdf")) {
Expand Down
118 changes: 0 additions & 118 deletions packages/dito/tests/playwright/utils/mocks.ts

This file was deleted.

0 comments on commit 928c397

Please sign in to comment.