Skip to content

Webdriver & Appium client library for visual regression testing with Percy

License

Notifications You must be signed in to change notification settings

taylorjellsworth/percy-appium-wd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@percy/appium-wd

Package Status

Percy visual testing for Appium and Webdriver.

Quick start

Assuming you have an existing Appium setup using Webdriver:

  • Install the @percy/appium-wd package: yarn add -D @percy/appium-wd or npm i -D @percy/appium-wd
  • import or require the SDK into the test suite (this can be done in a setup file or anywhere before the tests start): import '@percy/appium-wd'; or require('@percy/appium-wd');
  • Call await driver.percySnapshot('snapshot name') in your tests (for example):
test('Percy works', async () => {
  await driver.percySnapshot('test');
});
  • Finally, when running your tests, wrap the test command with percy exec. For example: percy exec -- jest. Be sure your PERCY_TOKEN is set in the terminal you're running percy exec from (you can get your PERCY_TOKEN from your Percy projects settings).

About

Webdriver & Appium client library for visual regression testing with Percy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%