Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed May 5, 2023
1 parent 643ee85 commit 02970ee
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 17 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
**/node_modules
**/.next
.git
.yarn-playwright-cache
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ examples/*/yarn.lock

test-results
.toolpad-generated

.yarn-playwright-cache
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ services:
dockerfile: ./playwright.Dockerfile
volumes:
- ./:/work/
- ./.yarn-playwright-cache:/.yarn-cache
working_dir: /work/
environment:
YARN_CACHE_FOLDER: /.yarn-cache
2 changes: 1 addition & 1 deletion playwright.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.32.3-focal
FROM mcr.microsoft.com/playwright:v1.33.0-focal

RUN apt-get update && apt-get install -y build-essential

Expand Down
16 changes: 0 additions & 16 deletions test/visual/components/fixture/toolpad/pages/page/page.yml

This file was deleted.

2 changes: 2 additions & 0 deletions test/visual/components/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ test('rendering components in the app editor', async ({ page }) => {
const editorModel = new ToolpadEditor(page);
await editorModel.goto();

await editorModel.waitForOverlay();

await expect(page).toHaveScreenshot('no-selection.png');

const image = editorModel.appCanvas.locator('img').first();
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02970ee

Please sign in to comment.