Test results should support multipage

Browser report page should include timelines and page navigations for all tabs/pages opened in a test. Many web applications open links in new tabs/pages with normal usage and this should be included in report.

Reproduction steps:

import { test, expect } from '@playwright/test'

test('Simple multipage', async ({ page }) => {
  await page.goto('https://www.checklyhq.com/')
  const page1Promise = page.waitForEvent('popup')
  await page.locator('#nav-signup-button').click()
  const page1 = await page1Promise
  await expect(page1.getByRole('button', { name: 'Sign Up' })).toBeVisible()
})

As seen on attached snapshot only first tab is tracked and timelines and page navigations for signup page aren't.

image

original GH issue link https://github.com/checkly/public-roadmap/issues/287

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

πŸ’‘ Feature Request

Tags

Insights

Date

Almost 3 years ago

Author

Tim Nolet

Subscribe to post

Get notified by email when there are changes.