- Installation
- Configuring Cypress
- Usage
- Contributing
- Code Of Conduct
- Contributors
- Related Links
- License
npm install -D cypress-ct-qwik
-
Run cypress (in watch mode) after installation
-
Follow the configuration wizard
-
Add
addQwikLoader
to thecypress/support/component.ts
file -
// component.ts
import { addQwikLoader } from 'cypress-ct-qwik';
addQwikLoader();
Pretty easy... 😊
// some-test.cy.ts
import MyComp from './my-comp';
describe(`Qwik Component Test`, () => {
it('should find my link', () => {
cy.mount(<MyComp />);
cy.contains('myLink').should('exist');
});
});
Want to contribute? Yayy! 🎉
Please read and follow our Contributing Guidelines to learn what are the right steps to take before contributing your time, effort and code.
Thanks 🙏
Be kind to each other and please read our code of conduct.
Thanks goes to these wonderful people (emoji key):
Shai Reznik 💻 |
Jordan Powell 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT