Try   HackMD

Running SideeX on CircleCI

Step 1 - Register CircleCI with GitHub account and login

Step 2 - Start Selenium Standalone Server

  1. Download Selenium Standalone Server (Tested version: 3.141.59)
  2. Open the terminal and switch the path where you save the selenium-server-standalone-{version}.jar
  3. Run java -jar selenium-server-standalone-{version}.jar

Step 3 - Using SideeX Runner with CircleCI

  1. Create a new repository in your GitHub
  2. Put SideeX Runner script, Runner config file and test cases in your repository
  3. Create a folder named .circleci and add a file config.yml with the following content in your repository (so that the filepath be in .circleci/config.yml).
    ​​​​version: 2
    ​​​​jobs:
    ​​​​  build:
    ​​​​    docker:
    ​​​​      - image: circleci/node:10
    
    ​​​​    steps:
    ​​​​      - checkout
    
    ​​​​      - run:
    ​​​​          name: SideeX Runner Test
    ​​​​          command: node sideex-runner.js -c config.json
    
  4. In CircleCI, click ADD PROJECTS
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
    and set up your GitHub project
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  5. Choose Linux Operating System and Node, then click Start building
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  6. CircleCI will run your test case
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →