https://github.com/qwikifiers/cypress-qwik
Cypress component testing plugin for Qwik
https://github.com/qwikifiers/cypress-qwik
Last synced: 2 months ago
JSON representation
Cypress component testing plugin for Qwik
- Host: GitHub
- URL: https://github.com/qwikifiers/cypress-qwik
- Owner: qwikifiers
- License: mit
- Created: 2023-02-14T23:53:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T21:18:50.000Z (about 3 years ago)
- Last Synced: 2025-08-11T09:33:25.116Z (10 months ago)
- Language: TypeScript
- Size: 32.9 MB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Cypress Qwik plugin
## Table of Contents
- [Installation](#installation)
- [Configuring Cypress](#configuring-cypress)
- [Usage](#usage)
- [Contributing](#contributing)
- [Code Of Conduct](#code-of-conduct)
- [Contributors](#contributors)
- [Related Links](#related-links)
- [License](#license)
## Installation
```console
npm install -D cypress-ct-qwik
```
## Configuring Cypress
1. Run cypress (in watch mode) after installation
2. Follow the configuration wizard
3. Add `addQwikLoader` to the `cypress/support/component.ts` file -
```ts
// component.ts
import { addQwikLoader } from 'cypress-ct-qwik';
addQwikLoader();
```
Pretty easy... 😊
## Usage
```ts
// some-test.cy.ts
import MyComp from './my-comp';
describe(`Qwik Component Test`, () => {
it('should find my link', () => {
cy.mount();
cy.contains('myLink').should('exist');
});
});
```
## Contributing
Want to contribute? Yayy! 🎉
Please read and follow our [Contributing Guidelines](CONTRIBUTING.md) to learn what are the right steps to take before contributing your time, effort and code.
Thanks 🙏
## Code Of Conduct
Be kind to each other and please read our [code of conduct](CODE_OF_CONDUCT.md).
## Contributors
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Shai Reznik
💻 ⚠️ 🚇 📖 🚧 👀 🤔

Jordan Powell
💻 ⚠️ 🚇 👀 🤔 🚧
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
## Related Links
- [Cypress-Qwik Discord](https://discord.gg/PVWUUejrez)
- [Qwik Discord](https://qwik.builder.io/chat)
- [Qwik Docs](https://qwik.builder.io/)
- [Cypress Docs](https://www.cypress.io/)
## License
MIT