Skip to content

Write extension e2e tests for Lvce editor

License

Notifications You must be signed in to change notification settings

lvce-editor/test-with-playwright

Repository files navigation

@lvce-editor/test-with-playwright

Usage

{
  "scripts": {
    "e2e": "node ./node_modules/@lvce-editor/test-with-playwright/bin/test-with-playwright.js --only-extension=. --test-path=./e2e"
  }
}
test('sample.hello-world', async () => {
  const sideBar = Locator('#SideBar')
  await expect(sideBar).toBeVisible()
})

Gitpod

Open in Gitpod