Skip to content

Conversation

@dgozman
Copy link
Contributor

@dgozman dgozman commented Sep 22, 2025

No description provided.

@github-actions

This comment has been minimized.

@dgozman dgozman force-pushed the chore-less-plumbing-on-error branch from 550917a to e7d558b Compare September 23, 2025 09:44
@dgozman dgozman force-pushed the chore-less-plumbing-on-error branch from e7d558b to 8ef2a6d Compare September 23, 2025 09:48
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Test results for "tests 1"

2 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1079 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node18`
⚠️ [webkit-library] › library/video.spec.ts:378 › screencast › should capture navigation `@webkit-ubuntu-22.04-node18`

46980 passed, 821 skipped


Merge workflow run.

(testInfo as TestInfoImpl)._onDidFinishTestFunction = async () => {
const page = playwright._allPages()[0];
if (page)
await runBrowserBackendAtEnd(page, testInfo.errors[0]?.message);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not pass anything here and keep all the magic in the runBrowserBackend method. Maybe you want to include all pages there.


const artifactsRecorder = new ArtifactsRecorder(playwright, tracing().artifactsDir(), screenshot);
(testInfo as TestInfoImpl)._onDidFinishTestFunction = async () => {
const page = playwright._allPages()[0];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should ever do this, non-fixture path should be strongly discouraged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants