I want to toggle only running one test, so I don\'t have to wait for my other tests to see the result of one test.
Currently, I comment out my other tests, but this is r
You can mute not needed test suites and particular cases by prepending x
to testrunner methods call (describe
, it
, etc.)
So it would look like:
// this whole testsuite will be muted
xdescribe('Visit google', () => {
it('should visit google', () => { cy.visit('https://google.com/'); });
});
// this testsuite will run
describe('Visit youtube', () => {
it('should visit youtube', () => { cy.visit('https://youtube.com/'); });
// this testcase will be muted
xit('is not necessary', () => { ... });
});