Code Monkey home page Code Monkey logo

percy-appium-wd's Introduction

@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).

percy-appium-wd's People

Contributors

bstack-security-github avatar dependabot[bot] avatar robdel12 avatar thomashuston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

percy-appium-wd's Issues

Add tests

Absolutely need to add tests to make sure everything is in working order. Not quite sure on the approach yet.

NPM vulnerabilities with follow-redirects

Screenshot 2022-05-03 at 11 37 39

Seeing this when installing this dependency now. I added the "follow-redirects" package to my project but still getting this so am assuming something needs to be updated in the "percy-apium-wd" package

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.