Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: enable playwright test extension in vscode#13135

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 5 commits intomainfromstevenmasley/playwright_debug
May 2, 2024

Conversation

Emyrk
Copy link
Member

@EmyrkEmyrk commentedMay 2, 2024
edited
Loading

This enables using the vscode debugger in playwright tests.

Extension is:https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright

This enables using the vscode debugger in playwright tests
Comment on lines +136 to +143
const logLines = (chunk: string | Buffer): string[] => {
if (chunk instanceof Buffer) {
// When running in a debugger, the input to this is a Buffer instead of a string.
// Unsure why, but this prevents the `trimEnd` from throwing an error.
return [chunk.toString()];
}
return chunk.trimEnd().split("\n");
};
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Debugger fails without this

Copy link
Member

@kylecarbskylecarbs left a comment

Choose a reason for hiding this comment

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

Sick

@EmyrkEmyrkenabled auto-merge (squash)May 2, 2024 22:53
@EmyrkEmyrk merged commit7779c0a intomainMay 2, 2024
@EmyrkEmyrk deleted the stevenmasley/playwright_debug branchMay 2, 2024 23:14
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 2, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@kylecarbskylecarbskylecarbs approved these changes

Assignees

@EmyrkEmyrk

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Emyrk@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp