Skip to content

Commit

Permalink
Fixed spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
penny-lischer committed Sep 6, 2024
1 parent d91c908 commit 6805a26
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
19 changes: 10 additions & 9 deletions frontend-react/e2e/pages/authenticated/admin/receiver-status.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import {expect, Locator} from "@playwright/test";
import {endOfDay, format, startOfDay, subDays} from "date-fns";
import type {RSOrganizationSettings} from "../../../../src/config/endpoints/settings";
import {RSReceiverStatus} from "../../../../src/hooks/api/UseReceiversConnectionStatus/UseReceiversConnectionStatus";
import { expect, Locator } from "@playwright/test";
import { endOfDay, format, startOfDay, subDays } from "date-fns";
import type { RSOrganizationSettings } from "../../../../src/config/endpoints/settings";
import { RSReceiverStatus } from "../../../../src/hooks/api/UseReceiversConnectionStatus/UseReceiversConnectionStatus";
import {
createStatusTimePeriodData,
SUCCESS_RATE_CLASSNAME_MAP, SuccessRate,
SUCCESS_RATE_CLASSNAME_MAP,
SuccessRate,
} from "../../../../src/pages/admin/receiver-dashboard/utils";
import {DatePair, dateShortFormat, durationFormatShort} from "../../../../src/utils/DateTimeUtils";
import {formatDate} from "../../../../src/utils/misc";
import {createMockGetReceiverStatus} from "../../../mocks/receiverStatus";
import {BasePage, BasePageTestArgs, type ResponseHandlerEntry, type RouteHandlerFulfillEntry} from "../../BasePage";
import { DatePair, dateShortFormat, durationFormatShort } from "../../../../src/utils/DateTimeUtils";
import { formatDate } from "../../../../src/utils/misc";
import { createMockGetReceiverStatus } from "../../../mocks/receiverStatus";
import { BasePage, BasePageTestArgs, type ResponseHandlerEntry, type RouteHandlerFulfillEntry } from "../../BasePage";

export interface AdminReceiverStatusPageUpdateFiltersProps {
dateRange?: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {addDays, endOfDay, startOfDay, subDays} from "date-fns";
import {AdminReceiverStatusPage} from "../../../pages/authenticated/admin/receiver-status";
import {test as baseTest, expect, logins} from "../../../test";
import { addDays, endOfDay, startOfDay, subDays } from "date-fns";
import { AdminReceiverStatusPage } from "../../../pages/authenticated/admin/receiver-status";
import { test as baseTest, expect, logins } from "../../../test";

export interface AdminReceiverStatusPageFixtures {
adminReceiverStatusPage: AdminReceiverStatusPage;
Expand Down Expand Up @@ -113,11 +113,12 @@ test.describe("Admin Receiver Status Page",
});

test.describe("has footer", () => {
test("has footer and explicit scroll to footer and scroll to top", async ({
adminReceiverStatusPage,
}) => {
await adminReceiverStatusPage.testFooter();
});
test("has footer and explicit scroll to footer and scroll to top",
async ({
adminReceiverStatusPage,
}) => {
await adminReceiverStatusPage.testFooter();
});
});
});

Expand Down

0 comments on commit 6805a26

Please sign in to comment.