Fixture.skip Method

TestCafe does not execute the fixtures that you skip.

fixture.skip `Fixture name` → this

Use the test.skip method to skip individual tests:

fixture.skip`Fixture.skip 1`; // TestCafe skips both tests in this fixture

test('Fixture.skip 1 - Test 1', () => {
    /* ... */
});

test('Fixture.skip 1 - Test 2', () => {
    /* ... */
});

fixture`Fixture.skip 2`;

test('Fixture.skip 2 - Test 1', () => {
    /* ... */
}); // TestCafe runs this test

test.skip('Fixture.skip 2 - Test 2', () => {
    /* ... */
}); // TestCafe skips this test

test('Fixture.skip 2 - Test 3', () => {
    /* ... */
}); // TestCafe runs this test

Why We Use Cookies

This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies. For more information, refer to DevExpress privacy policy and cookie policy.