Giter VIP home page Giter VIP logo

playwright-ct's People

Contributors

jovidecroock avatar marvinhagemeister avatar rschristian avatar sand4rt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sand4rt

playwright-ct's Issues

[Question] Why "@preact/playwright-ct" types are not available?

I have a project with preact and I installed the package preact/playwright-ct, however, Im seeing this error when importing config on my config.ts file :
"resource": "/playwright-ct.config.ts",
"owner": "typescript",
"code": "2307",
"message": "Cannot find module '@preact/playwright-ct' or its corresponding type declarations."

Does anyone know how to fix it? is there a missing dependency , maybe?
@developit

Need extra hands?

Hey, came across your library and was wondering if you guys can use some extra hands? I've been working on Playwright's component testing feature for the other frameworks and i can make sure everything is consistent? Perhaps we could advocate moving the adapter to Playwright's repository to combine efforts?

Cannot run tests with @preact/playwright-ct V0.1.1 - "TypeError: (0 , test_1._addRunnerPlugin) is not a function"

I have been trying to get V0.1.1 to run with no luck, and I am receiving the following error:

TypeError: (0 , _test._addRunnerPlugin) is not a function
    at Object.<anonymous> (/Users/jacksonernst/playwright-ct/src/index.ts:27:17)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Module.f._compile (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/utilsBundleImpl.js:16:994)
    at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Object.i.<computed>.ot._extensions.<computed> (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/utilsBundleImpl.js:16:1010)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/jacksonernst/playwright-ct/playwright-ct.config.ts:1:1)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Module.f._compile (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/utilsBundleImpl.js:16:994)
    at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Object.i.<computed>.ot._extensions.<computed> (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/utilsBundleImpl.js:16:1010)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at requireOrImport (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/common/transform.js:163:20)
    at requireOrImportDefaultObject (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/common/configLoader.js:225:53)
    at ConfigLoader.loadConfigFile (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/common/configLoader.js:57:26)
    at runTests (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/cli.js:127:46)
    at ji.<anonymous> (/Users/jacksonernst/playwright-ct/node_modules/@playwright/test/lib/cli.js:45:7)

I've been encountering this error when running my own tests in my project's repo, but the error above was from the tests in this repo. To produce this, I cloned this repo and tried an install with Yarn 1.22.15 (at the V0.1.1 tag). After running the build command, running the test command produced the above error.

Interestingly, installing with pnpm does not result the following error, but I am unable to use pnpm in the project I am working on. Any help would be greatly appreciated!

Edit: Just tried to run the tests in this repo at V0.1.1 after installing with Yarn 3.x and npm, both resulted in the above error. The tests only seem to work when install with pnpm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.