mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-11 04:30:17 +03:00
chore: do not use docker for "Web Components" tests (#20339)
This commit is contained in:
parent
1f576ff0bc
commit
1196b4f0f5
9
.github/workflows/tests_primary.yml
vendored
9
.github/workflows/tests_primary.yml
vendored
@ -144,14 +144,7 @@ jobs:
|
||||
DEBUG: pw:install
|
||||
- run: npm run build
|
||||
- run: npx playwright install --with-deps
|
||||
- run: |
|
||||
./utils/docker/build.sh --amd64 focal $PWTEST_DOCKER_BASE_IMAGE
|
||||
npx playwright docker build
|
||||
nohup npx playwright docker start &
|
||||
xvfb-run npm run test-html-reporter
|
||||
env:
|
||||
PLAYWRIGHT_DOCKER: 1
|
||||
PWTEST_DOCKER_BASE_IMAGE: playwright:localbuild
|
||||
- run: xvfb-run npm run test-html-reporter
|
||||
- run: xvfb-run npm run test-web
|
||||
if: always()
|
||||
|
||||
|
@ -20,7 +20,6 @@ export default defineConfig({
|
||||
testDir: 'src',
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
ignoreSnapshots: !process.env.PLAYWRIGHT_DOCKER,
|
||||
snapshotPathTemplate: '{testDir}/__screenshots__/{projectName}/{testFilePath}/{arg}{ext}',
|
||||
reporter: 'html',
|
||||
use: {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.7 KiB |
@ -28,7 +28,6 @@ test('expand collapse', async ({ mount }) => {
|
||||
await expect(component.getByText('Chip body')).not.toBeVisible();
|
||||
await component.getByText('Title').click();
|
||||
await expect(component.getByText('Chip body')).toBeVisible();
|
||||
await expect(component).toHaveScreenshot();
|
||||
});
|
||||
|
||||
test('render long title', async ({ mount }) => {
|
||||
@ -38,7 +37,6 @@ test('render long title', async ({ mount }) => {
|
||||
</AutoChip>);
|
||||
await expect(component).toContainText('Extremely long title.');
|
||||
await expect(component.getByText('Extremely long title.')).toHaveAttribute('title', title);
|
||||
await expect(component).toHaveScreenshot();
|
||||
});
|
||||
|
||||
test('setExpanded is called', async ({ mount }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user