Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ test('Sends an exception to Sentry', async ({ page }) => {
const exceptionIdHandle = await page.waitForFunction(() => window.capturedExceptionId);
const exceptionEventId = await exceptionIdHandle.jsonValue();

console.log(`Polling for error eventId: ${exceptionEventId}`);

await expect
.poll(
async () => {
Expand Down Expand Up @@ -63,6 +65,8 @@ test('Sends a pageload transaction to Sentry', async ({ page }) => {

let hadPageLoadTransaction = false;

console.log(`Polling for transaction eventIds: ${JSON.stringify(recordedTransactionEventIds)}`);

await Promise.all(
recordedTransactionEventIds.map(async transactionEventId => {
await expect
Expand Down Expand Up @@ -126,6 +130,8 @@ test('Sends a navigation transaction to Sentry', async ({ page }) => {

let hadPageNavigationTransaction = false;

console.log(`Polling for transaction eventIds: ${JSON.stringify(recordedTransactionEventIds)}`);

await Promise.all(
recordedTransactionEventIds.map(async transactionEventId => {
await expect
Expand Down