Skip to content

Automation script for letcode.in website using Webdriverio for framework, typescript for language, and cucumber

License

Notifications You must be signed in to change notification settings

jimuelmedrano/letcode-webdriverio-typescript

Repository files navigation



Letcode Webdriverio Automation

Webdriverio-typescript automation script for the letcode website
Explore the wiki »

About The Project

This project was made for educational and portfolio use. Letcode website was used in this project since it covers most elements that are needed for basic automation scripts.

Built Using:

  • tested with webdriver.io
  • typescript
  • cucumber
  • nodejs

Getting Started

Installation

  1. Clone the repo using the script below or using your preferred Git GUI
    git clone https://github.com/mrnjii/letcode-wdio-cucumber-ts.git
  2. Install NPM packages
    npm install
  3. Duplicate the .env.example file and rename the new one to .env


Note: Change the value of HEADLESS to N if you want to see the browser UI.

Usage

You can run the script using the following commands:

  • Run all tests
     npm run regression
  • Run tests for specific pages
    npm run input
    npm run button
    npm run dropdown
    npm run alert
    npm run frame
    npm run radio
    npm run window
    npm run dragdrop
    npm run slider
    npm run form

Sample Run

Contact

LinkedIn - https://www.linkedin.com/in/jimuel-renzo-medrano/

About

Automation script for letcode.in website using Webdriverio for framework, typescript for language, and cucumber

Topics

Resources

License

Stars

Watchers

Forks