Move playwrite stuff to utils folder

This commit is contained in:
HarelM
2026-07-09 13:33:29 +03:00
parent c00395ee11
commit fb00dea285
14 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, describe, beforeEach } from "./fixtures";
import { test, describe, beforeEach } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("accessibility", () => {
+1 -1
View File
@@ -1,4 +1,4 @@
import { beforeEach, describe, test } from "./fixtures";
import { beforeEach, describe, test } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("code editor", () => {
+1 -1
View File
@@ -1,4 +1,4 @@
import { beforeEach, describe, test } from "./fixtures";
import { beforeEach, describe, test } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("history", () => {
+1 -1
View File
@@ -1,4 +1,4 @@
import { beforeEach, describe, test } from "./fixtures";
import { beforeEach, describe, test } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("i18n", () => {
+1 -1
View File
@@ -1,4 +1,4 @@
import { beforeEach, describe, test } from "./fixtures";
import { beforeEach, describe, test } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("keyboard", () => {
+1 -1
View File
@@ -1,5 +1,5 @@
import { v1 as uuid } from "uuid";
import { beforeEach, describe, test } from "./fixtures";
import { beforeEach, describe, test } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("layer editor", () => {
+1 -1
View File
@@ -1,4 +1,4 @@
import { beforeEach, describe, test } from "./fixtures";
import { beforeEach, describe, test } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("layers list", () => {
+1 -1
View File
@@ -1,4 +1,4 @@
import { beforeEach, describe, test } from "./fixtures";
import { beforeEach, describe, test } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
describe("map", () => {
+1 -1
View File
@@ -3,7 +3,7 @@ import path from "node:path";
import { fileURLToPath } from "node:url";
import { expect, type Locator, type Page, type Request } from "@playwright/test";
import { readCoverage } from "./coverage";
import { currentPage, recordCoverageChunk } from "./fixtures";
import { currentPage, recordCoverageChunk } from "./utils/fixtures";
import { ModalDriver } from "./modal-driver";
const baseUrl = "http://localhost:8888/";
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, expect, describe, beforeEach } from "./fixtures";
import { test, expect, describe, beforeEach } from "./utils/fixtures";
import { MaputnikDriver } from "./maputnik-driver";
import tokens from "../src/config/tokens.json" with { type: "json" };
+2 -2
View File
@@ -9,8 +9,8 @@ const baseURL = process.env.E2E_BASE_URL ?? "http://localhost:8888/";
export default defineConfig({
testDir: "./e2e",
testMatch: "**/*.spec.ts",
globalSetup: "./e2e/global-setup.ts",
globalTeardown: "./e2e/global-teardown.ts",
globalSetup: "./e2e/e2e-setup.ts",
globalTeardown: "./e2e/e2e-teardown.ts",
fullyParallel: true,
forbidOnly: isCI,
retries: isCI ? 2 : 0,