-
Notifications
You must be signed in to change notification settings - Fork 134
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
chore: playwright tests #1631
chore: playwright tests #1631
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +560 B (+0.02%) Total Size: 3.22 MB
ℹ️ View Unchanged
|
@@ -1323,6 +1323,7 @@ export class SessionRecording { | |||
* */ | |||
public overrideLinkedFlag() { | |||
this._linkedFlagSeen = true | |||
this._tryTakeFullSnapshot() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
genuine bug for this luckily pretty rarely called method
@@ -1337,6 +1338,7 @@ export class SessionRecording { | |||
// short-circuits the `makeSamplingDecision` function in the session recording module | |||
[SESSION_RECORDING_IS_SAMPLED]: true, | |||
}) | |||
this._tryTakeFullSnapshot() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
genuine bug for this luckily pretty rarely called method
This reverts commit 40def25.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume no issues with tests means we are 👍
Cypress tests don't run in browserstack because they were so slow in browserstack/multiple browsers
Which means session replay tests (and most e2e tests) are only exercised in the electron browser. But we can have e.g. safari specific bugs and would never catch them.
Since we know Cypress was annoyingly slow here let's not use it.
This PR ports all session recording tests from Cypress to Playwright
Why Playwright?