Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Test results should support multipage #287

Open
neskoncno opened this issue Feb 21, 2023 · 1 comment
Open

Test results should support multipage #287

neskoncno opened this issue Feb 21, 2023 · 1 comment
Labels

Comments

@neskoncno
Copy link

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

@tnolet
Copy link
Member

tnolet commented Feb 21, 2023

Hey @neskoncno thanks for reporting. Pinging Lead @jan-osch and PM @drakirnosslin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants