Skip to content

Commit

Permalink
fix: resolve e2e lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
greatertomi committed Dec 6, 2024
1 parent f53d85d commit 5feee55
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/e2e-tests/src/steps/analyticsSteps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export const validateEventProperty = async (event: string, property: string, pro
interval: 1000,
timeout: 6000,
timeoutMsg: `Failed while waiting for event '${event}' contains property '${property}' equal to ${propertyValue}. Actual event property value = '${
(await getEventPayload(event)).properties[property]
(
await getEventPayload(event)
).properties[property]
}'`
}
);
Expand Down Expand Up @@ -62,7 +64,9 @@ When(/^I validate that (\d+) analytics event\(s\) have been sent$/, async (numbe
interval: 1000,
timeout: 6000,
timeoutMsg: `Failed while waiting for amount events sent: ${Number(numberOfRequests)}. Actual events amount sent: ${
(await getAllEventsNames()).length
(
await getAllEventsNames()
).length
}\n
Actual events:\n ${(await getAllEventsNames()).toString()}`
});
Expand Down

0 comments on commit 5feee55

Please sign in to comment.