chromaui / chromatic-e2e

Archive end-to-end tests to be replayed in Storybook and Chromatic
MIT License
13 stars 3 forks source link

Provide typescript types for Playwright module #115

Closed cunhabruno closed 2 months ago

cunhabruno commented 4 months ago

When importing import { test, expect } from '@chromatic-com/playwright' the types are not available, making it difficult to work with Playwright Typescript. Would that be possible to enable it?

Thanks!

tevanoff commented 3 months ago

@cunhabruno There was an error with our type declarations that should be fixed in the latest version of @chromatic-com/playwright. Can you try upgrading and see if that fixes it for you? Thanks!

winkerVSbecks commented 2 months ago

@cunhabruno closing this for now. Please report back if the types are still not working. In that case we'll reopen the issue.