Skip to content

Commit

Permalink
[test] Remove failing test in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jun 25, 2023
1 parent 16ecbed commit d842094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions test/e2e-website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

## Running locally

1. Run `yarn docs:dev` to start docs in development server.
2. Run `yarn test:e2e-website:dev` in a separate terminal to run the test suites (`*.spec.ts`) inside `test/e2e-website` folder.
1. Run `yarn docs:dev` to start the development docs server.
2. Run `yarn test:e2e-website` in a separate terminal to run the test suites (`*.spec.ts`) inside `test/e2e-website` folder.

> use --headed to run tests in headed browsers, check out [Playwright CLI](https://playwright.dev/docs/intro#command-line) for more options
## CI

After netlify deploy the preview site, the `netlify/functions/deploy-succeeded.js` hook calls CircleCI API to run the `e2e-website` workflow against the deployed url.
After Netlify deploys the preview site, the `netlify/functions/deploy-succeeded.js` hook calls CircleCI API to run the `e2e-website` workflow against the deployed URL.
6 changes: 0 additions & 6 deletions test/e2e-website/styles-legacy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ import { TestFixture } from './playwright.config';

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

test('should see legacy styles', async ({ page }) => {
await page.goto(`/styles/basics/`);

await expect(page.locator('h1:has-text("@mui/styles")')).toBeVisible();
});

test('should see legacy styles inside system', async ({ page }) => {
await page.goto(`/system/styles/basics/`);

Expand Down

0 comments on commit d842094

Please sign in to comment.