Skip to content

Commit

Permalink
Visual Regression tests: use default playwright utils (#47991)
Browse files Browse the repository at this point in the history
* Visual Regression tests: use default playwright utils instead of custom wordpress utils

* Add new snapshot dir to gitignore
  • Loading branch information
ciampo authored Feb 12, 2023
1 parent 7fbf73d commit b019306
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ phpunit-watcher.yml
.tool-versions
test/storybook-playwright/test-results
test/storybook-playwright/specs/__snapshots__
test/storybook-playwright/specs/*-snapshots/**
4 changes: 2 additions & 2 deletions test/storybook-playwright/specs/font-size-picker.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
* External dependencies
*/
import { test, expect } from '@wordpress/e2e-test-utils-playwright';
import { test, expect } from '@playwright/test';

/**
* Internal dependencies
Expand Down
4 changes: 2 additions & 2 deletions test/storybook-playwright/specs/popover.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
* External dependencies
*/
import { test, expect } from '@wordpress/e2e-test-utils-playwright';
import { test, expect } from '@playwright/test';

/**
* Internal dependencies
Expand Down

0 comments on commit b019306

Please sign in to comment.