- Make sure you have installed JDK Java.
- Take in mind the path when you are saving Java folder that contains jdk.
- Copy jdk path.
- On windows, in search bar, type environment variables and click on Edit the system environment variables.
- In the System properties window, click environment variables.
- In Environment variables window in Advanced tab, in System variables section, double click Path.
- In Edit environment variable click New button and paste the path that contains jdk, then click Ok.
- Close the open windows and that's all to install JDK 🥳.
-
You need must have Node.js installed (Node.js LTS version recommended)
-
When you are installing Node.js, make sure to check the option
- Automatically install the necesary tools. Note that this will also install Chocolatey. The script will pop-up in a new window after the installation completes.
Installed:
- Chrome
- Firefox
- MicrofoftEdge
You must have Visual Studio Code installed
Once you have installed Visual Studio Code you need to install a couple of plugins to help you set up the framework.
These plugins are Prettier and ESlint
- Go to Visual Studio Code application.
- On left sidebar in Visual Studio Code, click Extensions or press
Crtl+Shift+X
. - In the search, type Prettier and click Prettier - Code formatter, then click on install.
- That's all to install Prettier in VSCode 🥳
- Go to Visual Studio Code application.
- On left sidebar in Visual Studio Code, click Extensions or press
Crtl+Shift+X
. - In the search, type Prettier and click ESlint, then click on install.
- That's all to install ESlint in VSCode 🥳
- Click on the code button in this repository
- Select the Download Zip option
- Extract the .zip file with the Extract here option
- Place the project folder on the desired location
- First way: Right click on the folder and open it with Visual Studio Code
- Second way: Open Visual Studio code and drag the folder in Visual Studio Code Window
- Third way: Open Visual Studio, on top bar, click File and Open Folder or press
Ctrl+K Ctrl+O
, then choose the folder where you save it
- In Visual Studio Code, open new terminal with
Ctrl+Shift+`
orCtrl+Shift+ñ
or on top bar click Terminal, then click New Terminal
Type the following commands to run the following test cases
- Type
npm install
and wait all packages will be downloaded
npm install
📗 Story WIO-0002
📗 Stories | ||
---|---|---|
📗 WIO-0001 | 📗 WIO-0002 | 📗 WIO-0013 |
📗 WIO-0015 | 📗 WIO-0018 |
npx wdio --spec tests/specs/WIO-0002.spec.js
npm run test
npx allure open