diff --git a/e2e/playwright/basic-sketch.spec.ts b/e2e/playwright/basic-sketch.spec.ts index bbd96c8e3..f27188e5f 100644 --- a/e2e/playwright/basic-sketch.spec.ts +++ b/e2e/playwright/basic-sketch.spec.ts @@ -1,4 +1,5 @@ -import { test, expect, Page } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect, Page } from '@playwright/test' import { getUtils, TEST_COLORS, diff --git a/e2e/playwright/can-create-sketches-on-all-planes-and-their-back-sides.spec.ts b/e2e/playwright/can-create-sketches-on-all-planes-and-their-back-sides.spec.ts index 6bd98fb28..e1943db1b 100644 --- a/e2e/playwright/can-create-sketches-on-all-planes-and-their-back-sides.spec.ts +++ b/e2e/playwright/can-create-sketches-on-all-planes-and-their-back-sides.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' import { EngineCommand } from 'lang/std/artifactGraph' import { uuidv4 } from 'lib/utils' diff --git a/e2e/playwright/code-pane-and-errors.spec.ts b/e2e/playwright/code-pane-and-errors.spec.ts index 2e30d8212..6164cff2e 100644 --- a/e2e/playwright/code-pane-and-errors.spec.ts +++ b/e2e/playwright/code-pane-and-errors.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' import { bracket } from 'lib/exampleKcl' diff --git a/e2e/playwright/command-bar-tests.spec.ts b/e2e/playwright/command-bar-tests.spec.ts index c930fe48d..987828195 100644 --- a/e2e/playwright/command-bar-tests.spec.ts +++ b/e2e/playwright/command-bar-tests.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' import { KCL_DEFAULT_LENGTH } from 'lib/constants' diff --git a/e2e/playwright/copilot-ghost-test.spec.ts b/e2e/playwright/copilot-ghost-test.spec.ts index 38eeee253..7796256af 100644 --- a/e2e/playwright/copilot-ghost-test.spec.ts +++ b/e2e/playwright/copilot-ghost-test.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' test.beforeEach(async ({ context, page }) => { diff --git a/e2e/playwright/editor-tests.spec.ts b/e2e/playwright/editor-tests.spec.ts index b51ef92b0..b5fbd468b 100644 --- a/e2e/playwright/editor-tests.spec.ts +++ b/e2e/playwright/editor-tests.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { uuidv4 } from 'lib/utils' import { getUtils, setup, tearDown } from './test-utils' diff --git a/e2e/playwright/onboarding-tests.spec.ts b/e2e/playwright/onboarding-tests.spec.ts index ba624258b..e49b63f9b 100644 --- a/e2e/playwright/onboarding-tests.spec.ts +++ b/e2e/playwright/onboarding-tests.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' import { bracket } from 'lib/exampleKcl' diff --git a/e2e/playwright/regression-tests.spec.ts b/e2e/playwright/regression-tests.spec.ts index a1278be7b..185a61b5f 100644 --- a/e2e/playwright/regression-tests.spec.ts +++ b/e2e/playwright/regression-tests.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' diff --git a/e2e/playwright/sketch-tests.spec.ts b/e2e/playwright/sketch-tests.spec.ts index e53f6987d..f83743b0f 100644 --- a/e2e/playwright/sketch-tests.spec.ts +++ b/e2e/playwright/sketch-tests.spec.ts @@ -1,4 +1,5 @@ -import { test, expect, Page } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect, Page } from '@playwright/test' import { getMovementUtils, diff --git a/e2e/playwright/snapshot-tests.spec.ts b/e2e/playwright/snapshot-tests.spec.ts index 2273ccac8..142ae0d31 100644 --- a/e2e/playwright/snapshot-tests.spec.ts +++ b/e2e/playwright/snapshot-tests.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { secrets } from './secrets' import { Paths, doExport, getUtils } from './test-utils' import { Models } from '@kittycad/lib' diff --git a/e2e/playwright/test-network-and-connection-issues.spec.ts b/e2e/playwright/test-network-and-connection-issues.spec.ts index caeeb5315..eb0314407 100644 --- a/e2e/playwright/test-network-and-connection-issues.spec.ts +++ b/e2e/playwright/test-network-and-connection-issues.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { commonPoints, getUtils, setup, tearDown } from './test-utils' diff --git a/e2e/playwright/testing-camera-movement.spec.ts b/e2e/playwright/testing-camera-movement.spec.ts index dbe349c83..ae79cd7cc 100644 --- a/e2e/playwright/testing-camera-movement.spec.ts +++ b/e2e/playwright/testing-camera-movement.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { EngineCommand } from 'lang/std/artifactGraph' import { uuidv4 } from 'lib/utils' import { getUtils, setup, tearDown } from './test-utils' diff --git a/e2e/playwright/testing-constraints.spec.ts b/e2e/playwright/testing-constraints.spec.ts index 4c3fc3d5b..8cbc6dcca 100644 --- a/e2e/playwright/testing-constraints.spec.ts +++ b/e2e/playwright/testing-constraints.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown, TEST_COLORS } from './test-utils' import { XOR } from 'lib/utils' diff --git a/e2e/playwright/testing-gizmo.spec.ts b/e2e/playwright/testing-gizmo.spec.ts index 73046a27d..a4832db94 100644 --- a/e2e/playwright/testing-gizmo.spec.ts +++ b/e2e/playwright/testing-gizmo.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' import { uuidv4 } from 'lib/utils' diff --git a/e2e/playwright/testing-segment-overlays.spec.ts b/e2e/playwright/testing-segment-overlays.spec.ts index 90d6d4b3f..8533a0f13 100644 --- a/e2e/playwright/testing-segment-overlays.spec.ts +++ b/e2e/playwright/testing-segment-overlays.spec.ts @@ -1,4 +1,5 @@ -import { test, expect, Page } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect, Page } from '@playwright/test' import { deg, getUtils, setup, tearDown, wiggleMove } from './test-utils' import { LineInputsType } from 'lang/std/sketchcombos' diff --git a/e2e/playwright/testing-selections.spec.ts b/e2e/playwright/testing-selections.spec.ts index 54a856429..e1e37b955 100644 --- a/e2e/playwright/testing-selections.spec.ts +++ b/e2e/playwright/testing-selections.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { commonPoints, getUtils, setup, tearDown } from './test-utils' import { Coords2d } from 'lang/std/sketch' diff --git a/e2e/playwright/testing-settings.spec.ts b/e2e/playwright/testing-settings.spec.ts index 41de056de..f26c9bac1 100644 --- a/e2e/playwright/testing-settings.spec.ts +++ b/e2e/playwright/testing-settings.spec.ts @@ -1,9 +1,9 @@ +import { test } from './lib/base-fixture' import { expect } from '@playwright/test' import { getUtils, setup, tearDown } from './test-utils' import { SaveSettingsPayload } from 'lib/settings/settingsTypes' import { TEST_SETTINGS_KEY, TEST_SETTINGS_CORRUPTED } from './storageStates' import * as TOML from '@iarna/toml' -import { test } from './lib/base-fixture' test.beforeEach(async ({ context, page }) => { await setup(context, page) diff --git a/e2e/playwright/various.spec.ts b/e2e/playwright/various.spec.ts index 1887a5a5a..ea0671c37 100644 --- a/e2e/playwright/various.spec.ts +++ b/e2e/playwright/various.spec.ts @@ -1,4 +1,5 @@ -import { test, expect } from '@playwright/test' +import { test } from './lib/base-fixture' +import { expect } from '@playwright/test' import { doExport,