-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: visual tests #216
test: visual tests #216
Conversation
Preview is ready. |
scripts/playwright-docker.sh
Outdated
IMAGE_NAME="mcr.microsoft.com/playwright" | ||
IMAGE_TAG="v1.45.3-jammy" # This version have to be synchronized with playwright version from package.json | ||
|
||
NODE_MODULES_CACHE_DIR="$HOME/.cache/page-constructor-playwright-docker-node-modules" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
page-constructor -> blog-constructor
test.describe('Author', () => { | ||
test('render stories <Default>', async ({mount, expectScreenshot, defaultDelay}) => { | ||
await mount(<Default />); | ||
await defaultDelay(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await defaultDelay(); is it really necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is necessary
No description provided.