Skip to content
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

Add Percy to handle visual regression testing #6282

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
Take a snapshot of Welcome screen in Onboarding Wizard
  • Loading branch information
pierlon committed May 20, 2021
commit 0577da1c8fe73d2a75a955d509be14d0ceb4af11
7 changes: 7 additions & 0 deletions tests/e2e/specs/amp-onboarding/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
*/
import { visitAdminPage } from '@wordpress/e2e-test-utils';

/**
* External dependencies
*/
import percySnapshot from '@percy/puppeteer';

/**
* Internal dependencies
*/
Expand All @@ -19,5 +24,7 @@ describe( 'welcome', () => {

testPreviousButton( { exists: false } );
testNextButton( { text: 'Next' } );

await percySnapshot( page, 'Onboarding Wizard: Welcome screen' );
} );
} );
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy