Git Product home page Git Product logo

applitoolshackathon_wdio5's Introduction

Applitools Holiday Shopping Hackathon - Javascript

Applitools UltraFast Grid - using WebdriverIO version 5 and Jasmine

In order to get this repo up and running you'll have to follow the steps outlined below

  1. Open your terminal and navigate to your desktop.

    cd ~
    
    cd Desktop
    
  2. Now create a directory on your desktop and navigate to it

    mkdir applitoolsHackathonRepo
    
    cd applitoolsHackathonRepo
    
  3. Now clone this repository

    git clone https://github.com/goveanick/applitoolsHackathon_WDIO5.git
    
  4. Now navigate to the repo you just cloned

    cd applitoolsHackathon_WDIO5
    
  5. You should now be in the repo's root directory, you now want to download all the packages necessary to get the repo set up, run the following command

    npm install
    
  6. Once all the packages are done downloading, create a .env file at the root of the project

    touch .env
    
  7. You'll need to add your APPLITOOLS_KEY to the .env so the spec files will be able to connect to the applitools api. Add this line inside your .env file. Replace this [YOUR_PERSONAL_KEY] with your own unique key.

    APPLITOOLS_KEY=[YOUR_PERSONAL_KEY]
    
  8. Now that you have the repo all set up, the final thing to do is to download selenium-standalone-sever, the latest version at the time of writing this is 3.141.59

    Go to this url to download the .jar file
    https://www.selenium.dev/downloads/
    
  9. Once the .jar is finished downloading, open a NEW terminal window and navigate to your Downloads folder or wherever your downloaded files are saved, then run the java command below.

    cd ~
    cd Downloads
    
    java -jar selenium-server-standalone-3.141.59.jar
    
  10. The java command will run Selenium on localhost and on port 4444

  11. You are now ready to run the applitools spec files

  12. Go back to the terminal where you have the repo open, you should be on the main branch in this terminal. You can then run any of the following commands to run any of the applitools tests

    npm run test-part1  // This command will run the first part of the hackathon
    npm run test-part2  // This command will run the second part of the hackathon
    npm run test-part3  // This command will run the third part of the hackathon
    npm run test-all-parts  // This command will run the all three parts of the hackathon
    

applitoolshackathon_wdio5's People

Contributors

goveanick avatar

Watchers

 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.