Execution context was destroyed using vue3/experimental-playwright #27482
Unanswered
brettsaunders21
asked this question in
Help
Replies: 1 comment
-
When I run all tests in --debug or --ui they always seem to work, but the moment I just run "playwright test" some fail |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I'm using the @storybook/vue3/experimental-playwright to create test
For each story I have the following three files
Portable stories
x.playwright.test.tsx
And the stories look like this
I have 66 test across 11 files.
I keep seeing the tests fail with the following
The weird part is that when I run it on Github actions or locally I see 63 tests pass and 3 fail with this issue.
So I comment those 3 out, then I see another 2 fail, comment those out, then another 2 fail comment those out and now it's working.
The components have no navigation and seem to come from random places in the test file. The different between some stories that are passing and not is the data displayed in the table, so I don't understand why one would fail and one wouldn't
I've tried re-adding some of the tests I removed and i'm seeing different tests fail. It just seems to me like when I reach a certain number of tests it becomes instable. I think I read in the docs that the context is shared for component tests and just reset, maybe this is causing the issue.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions