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

Using autoLogin with TypeScript? #3276

Unanswered
nateGarcia asked this question in Q&A
Discussion options

Hello! I am a noob with TypeScript. Can anyone help me to understand how to make the autoLogin plugin work with a .ts test?

⨯ Unable to compile TypeScript:
tests/test_my_playwright_test.ts:5:27 - error TS2339: Property 'login' does not exist on type 'SupportObject'.
Scenario('my test', ({ I, login }) => {
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /