Comments (4)
@yannbf don't know if it helps but awaiting in the preRender()
helped me for a "similar" issue. #244
from test-runner.
Removing the following code from the testPrefixer in transformPlaywright.ts
fixes this issue. By removing it, the error doesn't leak to the FindBy
story and it is still shown at the Demo
story.
page.on('pageerror', (err) => {
page.evaluate(({ id, err }) => __throwError(id, err), { id: %%id%%, err: err.message });
});
It isnβt an ideal solution. Maybe I can find the cause in the jest-playwright
package
from test-runner.
I recently updated the pr #264 to change the proposed fix for this issue.
from test-runner.
π Issue was released in v0.16.0
π
from test-runner.
Related Issues (20)
- [bug] coverage no longer report in terminal HOT 2
- [bug] Add support for passWithNoTests
- [question] Error: Cannot find module 'detect-package-manager' HOT 1
- [bug] test-runner doesn't execute in the project folder HOT 2
- CLI tests don't run using chromium browser with error message "invalid version" HOT 1
- [bug] --failOnConsole not working with Mock Service Worker
- [bug] Issue with open HTTP connections: Jest did not exit
- Skip or Exclude not working on play-tests HOT 2
- How to specify Chromium path HOT 3
- Installation Error with NPM HOT 2
- [question] Any plans to move or support vitest?
- [bug] Doesn't work with git worktrees HOT 1
- [Bug]: Type of canvasElement from getStoryContext is unknown HOT 2
- [question] Any plans to support v8.0.0???? HOT 1
- Test runner rendering next story before previous tests finish
- [bug] `getStoryContext` is missing `playFunction` HOT 1
- [bug] preVisit accesses the story store before the index is ready HOT 8
- [bug] the --outputFile parameter is not working when --junit parameter is issued HOT 4
- [bug] Storybook Test Runner Timeout with waitForPageReady HOT 2
- [feature request] Make tags available in the test context HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test-runner.