89 words
1 minutes
Handling Flaky End-to-End Tests in Cypress
While working on end-to-end tests, I encountered some flaky behavior. My boss, Touseef Liaqat, advised me not to block progress because of this. He suggested writing the tests and skipping the flaky ones, which led me to discover that testing frameworks allow you to skip tests.
In Cypress, you can skip a test like this:
it.skip('test description', () => {
// Test code here
});
After writing and skipping the flaky tests, I created an issue to track them. I created a pull request in the Agoric Wallet App over here.
Handling Flaky End-to-End Tests in Cypress
https://rabisiddique.com/posts/skipping-tests/Author
Rabi Siddique
Published at
2024-08-16