microsoft / playwright-testing-service

MIT License
83 stars 13 forks source link

[BUG]: defineConfig Expected 1 arguments, but got 2. ts(2554) #30

Closed MarcusFelling closed 1 year ago

MarcusFelling commented 1 year ago

Describe the bug Copy and pasting playwright.service.config.ts from onboarding guide throws defineConfig Expected 1 arguments, but got 2. ts(2554)

To Reproduce Steps to reproduce the behavior:

  1. Copy playwright.service.config.ts from onboarding guide
  2. Paste into new playwright.service.config.ts file
  3. VS Code shows error (screenshot below)

Screenshots image

AB#1884158

puagarwa commented 1 year ago

@marcusFelling The above error is expected for PW version < 1.37 , can you please check your version and try it on 1.37 and report back.

MarcusFelling commented 1 year ago

I'm on 1.37.2

puagarwa commented 1 year ago

@MarcusFelling The latest version currently supported is 1.37.1 https://github.com/microsoft/playwright/releases/tag/v1.37.1, wondering how are you using 1.37.2 ?

MarcusFelling commented 1 year ago

My bad, I was on 1.36.2.