Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 623 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 623 Bytes

WpDarkModeAuto

This repository contains automated tests for enabling and configuring wp-dark-mode plugin using Selenium WebDriver.

Requirements

  • Java JDK
  • Maven
  • Microsoft Edge WebDriver (compatible with your Edge browser version)
  • intall selenium-java dependency
  • install webdrivermanager dependency
  • install testng dependency

Installation

  1. Clone this repository to your local machine.

  2. Set up the .env file:

    Create a .env file in the project root and add your WordPress credentials:

    USERNAME=your_username
    PASSWORD=your_password
    

Running the test suite

-mvn test