Giter Site home page Giter Site logo

auztiiin / example-percy-java-selenium Goto Github PK

View Code? Open in Web Editor NEW

This project forked from percy/example-percy-java-selenium

0.0 0.0 0.0 90 KB

Example app demonstrating Percy's Java Selenium integration.

Home Page: https://docs.percy.io/v1/docs/java-selenium-testing-tutorial

License: MIT License

JavaScript 12.60% Java 72.20% HTML 15.20%

example-percy-java-selenium's Introduction

example-percy-java-selenium

Example app demonstrating Percy's Java Selenium integration.

This example app is an HTTP server that serves a fork of the TodoMVC Vanilla-ES6 (forked at commit c78ae12a1834a11da6236c64a0c0fb06b20b7c51).

It requires Java 8 and Maven >3.6.

The Selenium tests use ChromeDriver, which you need to install separately for your system.

On Mac OS, you can use Homebrew:

$ brew tap homebrew/cask && brew cask install chromedriver

On Windows, you can use Chocolatey:

$ choco install chromedriver

For other systems (or installation alternatives), see: https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver

Building and running the app

To compile and build a jar containing our app:

$ mvn package

To run the server:

$ java -cp target/example-percy-java-selenium-1.0-SNAPSHOT.jar io.percy.examplepercyjavaselenium.App

Then visit http://localhost:8000 to see the app in action.

To run the tests:

$ mvn test

Running the tests

To run Percy snapshots, first set the PERCY_TOKEN environment variable, and then run:

$ npm run test

example-percy-java-selenium's People

Contributors

anaulin avatar dependabot-support avatar djones avatar dependabot[bot] avatar robdel12 avatar

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.