Skip to content

This repository contains an automation framework built using Python and Playwright for testing a WordPress plugin as part of wpmudev QA test exercise

Notifications You must be signed in to change notification settings

vizallati/wpmudev-qa-task-autotests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

  1. Test Automation Framework for WordPress Plugin (qa-test)
    1. Features
    2. Getting Started
      1. Prerequisites
      2. Clone Repository
      3. Installation
      4. Running Tests
      5. Generating Allure Report

Test Automation Framework for WordPress Plugin (qa-test)

This repository houses a powerful automated testing framework built with Python, Playwright incorporating Behavior-Driven Development (BDD) principles using Gherkin syntax. The framework is designed for the testing of a WordPress plugin and includes Allure reporting for comprehensive test result analysis.

Features

Playwright Integration: Leverage the Playwright automation tool for seamless browser automation across different web browsers.

BDD Testing: Adopt Behavior-Driven Development by expressing test scenarios in Gherkin syntax. Write clear and concise feature files in the features directory.

Allure Reporting: Generate detailed and visually appealing test reports with Allure, providing insights into test execution, failures, and trends.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

Python 3.10 or higher
Pip (Python package installer)
Playwright (installation instructions here)
Allure (installation instructions here)

Clone Repository

To clone the repository, run the following command in your terminal:

git clone https://github.com/vizallati/wp-mudev-qa-task-autotests.git

Installation

Navigate to the project directory and install the required dependencies:

cd wp-mudev-qa-task-autotests
pip install -r requirements.txt

Running Tests

Before running the tests edit the settings.yml with respective creds for your WordPress environment

Run the tests using the following command:

pytest tests --alluredir=allure-results

This command will execute the tests and generate Allure report data in the allure-results directory.

Generating Allure Report

To generate and view the Allure report, run the following commands:

allure serve allure-results

This will generate the Allure report and open it in your default web browser.

About

This repository contains an automation framework built using Python and Playwright for testing a WordPress plugin as part of wpmudev QA test exercise

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published