Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Trace is not showing any screenshots nor test name #31613

Closed
FitTech961 opened this issue Jul 9, 2024 · 4 comments
Closed

[Bug]: Trace is not showing any screenshots nor test name #31613

FitTech961 opened this issue Jul 9, 2024 · 4 comments
Assignees
Labels

Comments

@FitTech961
Copy link

FitTech961 commented Jul 9, 2024

Version

1.45.0

Steps to reproduce

Here's my Playwright config:

const config: PlaywrightTestConfig = {
  testDir: './',
  timeout: 60 * 1000,
  globalTimeout: 40 * 60 * 1000,
  expect: {
    timeout: process.env.CI ? 10000 : 15000,
  },
  fullyParallel: true,
  forbidOnly: !!process.env.CI,
  retries: 2,
  workers: 1,
  reporter,
  use: {
    actionTimeout: 0,
    baseURL: process.env.BASE_URL || 'http://localhost:3000',

    trace: 'on-all-retries',
  }
}

Steps to reproduce:

  1. Run a test suite from the CLI and make sure that one of the tests will fail
  2. Run yarn playwright show-report to show the report
  3. Download the trace of the failing test from the first retry
  4. Open https://trace.playwright.dev/ and drag and drop the downloaded trace into it

Expected behavior

After following the above steps:
I should be able to see the test suite and test name along with screenshots

Screenshot 2024-07-09 at 3 54 04 PM

Actual behavior

After I updated Playwright to 1.45.0 the trace viewer no longer shows the test name nor any screenshots
Screenshot 2024-07-09 at 3 55 35 PM

Additional context

No response

Environment

System:
    OS: macOS 14.5
    Memory: 43.69 MB / 16.00 GB
  Binaries:
    Node: 20.11.0 - ~/.asdf/installs/nodejs/20.11.0/bin/node
    Yarn: 3.2.4 - ~/.asdf/installs/nodejs/20.11.0/bin/yarn
    npm: 10.2.4 - ~/.asdf/plugins/nodejs/shims/npm
  Languages:
    Bash: 3.2.57 - /bin/bash
@mxschmitt
Copy link
Member

Are you creating the context yourself? We recently discovered a regression in v1.45.0 around this area. Would it be possible to test with our Canary release - while we issue v1.45.1?

@FitTech961
Copy link
Author

@mxschmitt Yes I am creating the context in each test suite. I tried the Canary release, and it worked. When can we expect the official release to be available?

@mxschmitt
Copy link
Member

mxschmitt commented Jul 16, 2024

@FitTech961 could you re-try on our @beta? We are about to release 1.45.2 and would like to have it confirmed again.

npm install -D @playwright/test@beta

@FitTech961
Copy link
Author

@mxschmitt I tested the @beta version, and it seems to be working as expected.

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

No branches or pull requests

3 participants