diff --git a/packages/e2e-tests/authenticated/logpoints-01.test.ts b/packages/e2e-tests/authenticated/logpoints-01.test.ts index 737841ff553..cc598e97537 100644 --- a/packages/e2e-tests/authenticated/logpoints-01.test.ts +++ b/packages/e2e-tests/authenticated/logpoints-01.test.ts @@ -64,7 +64,7 @@ test(`authenticated/logpoints-01: Shared logpoints functionality`, async ({ const page = await context.newPage(); await load(page, recordingId, testUsers![1].apiKey, testScope); - const locator = await findPoints(page, "logpoint", { lineNumber }); + const locator = await findPoints(page, { lineNumber }); // Verify point is not editable await expect(await isPointEditable(locator)).toBe(false); diff --git a/packages/e2e-tests/helpers/pause-information-panel.ts b/packages/e2e-tests/helpers/pause-information-panel.ts index 360a3a248fa..94e9db9fea6 100644 --- a/packages/e2e-tests/helpers/pause-information-panel.ts +++ b/packages/e2e-tests/helpers/pause-information-panel.ts @@ -332,7 +332,6 @@ export async function waitForScopeValue( export function findPoints( page: Page, - type: "logpoint", options: { sourceId?: SourceId; lineNumber?: number; diff --git a/packages/e2e-tests/helpers/source-panel.ts b/packages/e2e-tests/helpers/source-panel.ts index 3685a7d35dc..433803f363e 100644 --- a/packages/e2e-tests/helpers/source-panel.ts +++ b/packages/e2e-tests/helpers/source-panel.ts @@ -456,7 +456,7 @@ export async function removeAllLogpoints(page: Page): Promise { await debugPrint(page, `Removing all logpoints for the current source`, "removeAllLogpoints"); await openPauseInformationPanel(page); - const points = await findPoints(page, "logpoint"); + const points = await findPoints(page); const count = await points.count(); for (let index = count - 1; index >= 0; index--) { const point = points.nth(index); diff --git a/packages/e2e-tests/tests/logpoints-02.test.ts b/packages/e2e-tests/tests/logpoints-02.test.ts index a8f69f7f74b..d21f394de79 100644 --- a/packages/e2e-tests/tests/logpoints-02.test.ts +++ b/packages/e2e-tests/tests/logpoints-02.test.ts @@ -46,7 +46,7 @@ test(`logpoints-02: conditional log-points`, async ({ await expect(logPointMessages.first()).toHaveText(/Beginning/); await expect(logPointMessages.last()).toHaveText(/Ending/); - const logpoint = findPoints(page, "logpoint", { lineNumber: 20 }); + const logpoint = findPoints(page, { lineNumber: 20 }); await togglePoint(page, logpoint, false); await expect(logPointMessages).toHaveCount(2); await togglePoint(page, logpoint, true); diff --git a/packages/e2e-tests/tests/logpoints-06.test.ts b/packages/e2e-tests/tests/logpoints-06.test.ts index 56e488a8cd0..aa8cbbeaa13 100644 --- a/packages/e2e-tests/tests/logpoints-06.test.ts +++ b/packages/e2e-tests/tests/logpoints-06.test.ts @@ -33,7 +33,7 @@ test(`logpoints-06: should be temporarily disabled`, async ({ // Find the newly added point in the side panel await openPauseInformationPanel(page); await openPrintStatementsAccordionPane(page); - const logpoints = findPoints(page, "logpoint", { lineNumber }); + const logpoints = findPoints(page, { lineNumber }); await expect(await logpoints.count()).toBe(1); const logpoint = logpoints.first();