From 62943c32e537888008d14dde6ee0ffe5d42fe6ae Mon Sep 17 00:00:00 2001 From: Penelope Lischer Date: Thu, 12 Sep 2024 09:41:35 -0700 Subject: [PATCH] 15839 - Fixed linting --- .../e2e/pages/authenticated/organization.ts | 2 +- .../admin/organization-settings-page.spec.ts | 14 +++++++------- .../organization-settings-page-user-flow.spec.ts | 16 ++++++++-------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/frontend-react/e2e/pages/authenticated/organization.ts b/frontend-react/e2e/pages/authenticated/organization.ts index 3e8fa2163a5..80a09aa4807 100644 --- a/frontend-react/e2e/pages/authenticated/organization.ts +++ b/frontend-react/e2e/pages/authenticated/organization.ts @@ -1,4 +1,4 @@ -import {expect, Page} from "@playwright/test"; +import { expect } from "@playwright/test"; import { RSOrganizationSettings } from "../../../src/config/endpoints/settings"; import { MOCK_GET_ORGANIZATION_SETTINGS_LIST } from "../../mocks/organizations"; import { BasePage, BasePageTestArgs, type RouteHandlerFulfillEntry } from "../BasePage"; diff --git a/frontend-react/e2e/spec/all/authenticated/admin/organization-settings-page.spec.ts b/frontend-react/e2e/spec/all/authenticated/admin/organization-settings-page.spec.ts index ee9773e664c..ea405a97a83 100644 --- a/frontend-react/e2e/spec/all/authenticated/admin/organization-settings-page.spec.ts +++ b/frontend-react/e2e/spec/all/authenticated/admin/organization-settings-page.spec.ts @@ -1,10 +1,10 @@ -import {expect} from "@playwright/test"; -import {readFileSync} from "node:fs"; -import {join} from "node:path"; -import {fileURLToPath} from "node:url"; -import {MOCK_GET_ORGANIZATION_SETTINGS_LIST} from "../../../../mocks/organizations"; -import {OrganizationPage} from "../../../../pages/authenticated/organization"; -import {test as baseTest} from "../../../../test"; +import { expect } from "@playwright/test"; +import { readFileSync } from "node:fs"; +import { join } from "node:path"; +import { fileURLToPath } from "node:url"; +import { MOCK_GET_ORGANIZATION_SETTINGS_LIST } from "../../../../mocks/organizations"; +import { OrganizationPage } from "../../../../pages/authenticated/organization"; +import { test as baseTest } from "../../../../test"; const __dirname = fileURLToPath(import.meta.url); diff --git a/frontend-react/e2e/spec/chromium-only/authenticated/organization-settings-page-user-flow.spec.ts b/frontend-react/e2e/spec/chromium-only/authenticated/organization-settings-page-user-flow.spec.ts index 7af645edefe..fa74fc13713 100644 --- a/frontend-react/e2e/spec/chromium-only/authenticated/organization-settings-page-user-flow.spec.ts +++ b/frontend-react/e2e/spec/chromium-only/authenticated/organization-settings-page-user-flow.spec.ts @@ -1,8 +1,8 @@ -import {expect} from "@playwright/test"; -import {tableRows} from "../../../helpers/utils"; -import {MOCK_GET_ORGANIZATION_SETTINGS_LIST} from "../../../mocks/organizations"; -import {OrganizationPage} from "../../../pages/authenticated/organization"; -import {test as baseTest} from "../../../test"; +import { expect } from "@playwright/test"; +import { tableRows } from "../../../helpers/utils"; +import { MOCK_GET_ORGANIZATION_SETTINGS_LIST } from "../../../mocks/organizations"; +import { OrganizationPage } from "../../../pages/authenticated/organization"; +import { test as baseTest } from "../../../test"; export interface OrganizationPageFixtures { @@ -38,7 +38,7 @@ const test = baseTest.extend({ }, }); -test.describe("Admin Organization Settings Page - user flow smoke tests",{ +test.describe("Admin Organization Settings Page - user flow smoke tests", { tag: "@smoke", }, () => { test.describe("admin user", () => { @@ -51,8 +51,8 @@ test.describe("Admin Organization Settings Page - user flow smoke tests",{ }); test.describe("table", () => { - test.beforeEach(async ({ organizationPage }) => { - await organizationPage.page.locator(".usa-table tbody").waitFor({ state: "visible" }); + test.beforeEach(async ({organizationPage}) => { + await organizationPage.page.locator(".usa-table tbody").waitFor({state: "visible"}); }); test("has correct headers", async ({organizationPage}) => {