diff --git a/test/e2e-website/data-grid-current.spec.ts b/test/e2e-website/data-grid-current.spec.ts index e7c83f15ee9ca..d7305351f3b74 100644 --- a/test/e2e-website/data-grid-current.spec.ts +++ b/test/e2e-website/data-grid-current.spec.ts @@ -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({}); +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/`);