question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Playwright component testing doesn't seem to record videos

See original GitHub issue

I have the following version of playwright component testing set up:

"@playwright/experimental-ct-react": "^1.22.2",

I have this set in my playwright ct config file:

  use: {
    headless: true,
    video: 'on',
    screenshot: 'on',
    /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
    trace: 'on-first-retry',

    /* Port to use for Playwright component endpoint. */
    ctPort: 3100
  },

In the HTML report I see screenshots but no video for any tests (passed of failed). Is this a bug or expected? Would be good to get videos.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
aslushnikovcommented, Jun 2, 2022

@PavanMudigondaTR the fix has landed and will be live in 1.23!

0reactions
PavanMudigondaTRcommented, Jun 3, 2022

sorry i saw video file getting generated but white screen in 1.22 i will check when 1.23 arrives.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Get Started With Playwright Component Testing
Time to practice, let's take our first step and install React for this Playwright component testing tutorial: Open Visual Studio Code. Open a...
Read more >
playwright._impl._api_types.error: executable doesn't exist at - You ...
Error : Executable doesn't exist at /root/.cache/ms-playwright/chromium-1015/chrome-linux/chrome. The location where the error occurs is the following part.
Read more >
Debugging Tests in Playwright - Debbie O'Brien
Take a look and see for yourself. Your browser does not support the video tag. The error messaging from VS Code is very...
Read more >
Playwright - Quality Thoughts
Number of regression bugs found by the Playwright test suite ... this to having a pending test but something doesn't feel right about...
Read more >
How to Test React Components: the Complete Guide
shallow rendering only renders the single component we are testing. It does not render child components. This allows us to test our component...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found