Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Jul 8, 2024
1 parent 25912c3 commit 7806d14
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/e2e-tests/authenticated/logpoints-01.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion packages/e2e-tests/helpers/pause-information-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ export async function waitForScopeValue(

export function findPoints(
page: Page,
type: "logpoint",
options: {
sourceId?: SourceId;
lineNumber?: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/helpers/source-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export async function removeAllLogpoints(page: Page): Promise<void> {
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);
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/tests/logpoints-02.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/tests/logpoints-06.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 7806d14

Please sign in to comment.