Skip to content

Commit

Permalink
skip current test if migration is done
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jan 21, 2022
1 parent 823c901 commit 09b6c93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e-website/data-grid-current.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import { test as base, expect, Page } from '@playwright/test';
import kebabCase from 'lodash/kebabCase';
import FEATURE_TOGGLE from 'docs/src/featureToggle';
import { TestFixture } from './playwright.config';

const test = base.extend<TestFixture>({});

test.beforeEach(async ({}) => {
test.skip(FEATURE_TOGGLE.enable_redirects, 'Migration is done.');
});

test.describe.parallel('DataGrid docs', () => {
test('should have correct link with hash in the TOC', async ({ page }) => {
await page.goto(`/components/data-grid/getting-started/`);
Expand Down

0 comments on commit 09b6c93

Please sign in to comment.