Diplomová práce

Automated E2E Tests Architecture using PlayWright

Bc. Ivan Kiráľ
Anotace

Táto diplomová práca sa zaoberá end-to-end testovaním, Výsledkom práce je sada testov integrovaných do repozitára s otvoreným zdrojovým kódom Lumeer. Teoretická časť práce sa venuje základným teóriám testovania, analýze Lumeeru, návrhu end-to-end testov a ich implementácii pomocou testovacieho nástroja Playwright. Automatizovaný proces testovania je implementovaný prostredníctvom GitHub Actions, ktorý …více

Abstract

This diploma thesis explores end-to-end testing, culminating in a set of tests integrated into the open-source repository Lumeer. The theoretical part delves into fundamental testing theories, analysis of Lumeer, design of end-to-end tests, and their implementation using Playwright testing framework. The automation process is streamlined through GitHub Actions, ensuring seamless integration. Ultimately, the thesis outlines future plans for advancing testing strategies within the Lumeer project.

Zadání práce

Automated end-to-end user interface (E2E) testing has become essential to the software development life cycle. It involves running software tests to ensure the user interface functions as expected. UI testing is particularly important as it helps to catch visual and functional bugs before the end-users encounter them.

The use of automation in E2E testing allows developers to save time and increase efficiency. Playwright, an open-source Node.js library developed by Microsoft, has become a popular choice for UI test automation due to its powerful capabilities and ease of use.

Lumeer is an open-source project management tool that allows teams to plan, track, and visually manage their projects. It provides a user-friendly interface for organizing tasks, timelines, resources, and deliverables and is designed to be flexible enough to adapt to the needs of different teams and workflows.

However, the UI of Lumeer is very vaguely covered with proper tests, frequently leading to user issues after updates. This diploma thesis aims to add automation in E2E testing to the Lumeer.

The student is supposed to:

  1. Analyze PlayWright testing tool and its suitability for automation in E2E testing.
  2. Analyze and suggest a roadmap of E2E test cases to be developed (based on customer happy paths).
  3. Prepare the environment for E2E testing using PlayWright in Lumeer project.
  4. Design and implement a test suite of at least 20 tests based on PlayWright for easy E2E test development.
  5. Automate the execution of those tests using GitHub Actions.

The test cases will be part of the open-source repository of Lumeer.

Práce zkontrolována:
3. 1. 2024 20:21, Mgr. Martin Večeřa, učo 72839
Jazyk práce
angličtina angličtina
Termín obhajoby
9. 2. 2024
Práce byla úspěšně obhájena

Vedoucí

Mgr. Martin Večeřa, učo 72839
abs FI MU

Oponent

RNDr. Adam Rambousek, Ph.D., učo 60380
KSUZD FI MU

  • Přidání souboru

    Soubor nebo složku lze nahrát pomocí tlačítka Přidat.
  • Další operace se soubory

    Podrobnosti lze zjistit označením příslušného řádku.
  • Pohled pro experty

    Pro častou práci je možné zvolit režim Více možností.
  • Vyhledávání souborů

    Vyhledávaný výraz můžete zadat přímo do adresního řádku.
  • Rychlý přístup k souborům

    Pomocí funkce Nedávné je možné se rychle vrátit k právě prohlíženým souborům. Oblíbené soubory je také možné označit Hvězdičkou.