Skip to content

Files

Latest commit

 

History

History

ui-test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Micro:bit UI test

This is the selenium UI test for Micro:bit.

Download and Build

  1. Clone the PXT git repository
  2. Install Chrome browser if you don't have it on your computer.
  3. Download ChromeDriver from https://sites.google.com/a/chromium.org/chromedriver/downloads. The downloaded file is a zip file. Extract it and place the executable in a folder in your PATH. Please note that there are multiple versions of ChromeDriver in download list. You need to make sure your ChromeDriver's version matches your Chrome version.
  4. Open folder tests/ui-test
  5. Install required node.js modules for the selenium test
npm install

Run in command line

npm test

Run and Debug in VS Code

  1. Open VS Code
  2. Open project ui-test folder in VS Code
  3. Click Debug
  4. Choose Mocha Tests in Debug
  5. Click Start Debugging