Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thinogueiras/robot-playwright-gherkin
Automação de testes de UI com Robot Framework e Playwright.
https://github.com/thinogueiras/robot-playwright-gherkin
bdd browser-library docker gherkin github-actions playwright python robotframework ui-test-automation ui-testing web-testing
Last synced: about 2 months ago
JSON representation
Automação de testes de UI com Robot Framework e Playwright.
- Host: GitHub
- URL: https://github.com/thinogueiras/robot-playwright-gherkin
- Owner: thinogueiras
- License: mit
- Created: 2024-02-24T04:16:23.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-30T16:48:46.000Z (9 months ago)
- Last Synced: 2024-12-17T09:09:10.263Z (about 2 months ago)
- Topics: bdd, browser-library, docker, gherkin, github-actions, playwright, python, robotframework, ui-test-automation, ui-testing, web-testing
- Language: RobotFramework
- Homepage: https://www.saucedemo.com
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automação de Testes de UI com Robot Framework e Playwright.
[![Robot Framework Tests](https://github.com/thinogueiras/Robot-Playwright-Gherkin/actions/workflows/continuous-testing.yml/badge.svg?branch=main)](https://github.com/thinogueiras/Robot-Playwright-Gherkin/actions/workflows/continuous-testing.yml)
## Sobre o projeto:
* Site alvo dos testes: https://www.saucedemo.com.
* Este projeto utiliza o padrão `Page Objects`.
* Os `Casos de Testes` foram implementados utilizando a sintaxe `Gherkin` de forma `declarativa`.## Pré-requisitos mínimos de ambiente:
* [Git](https://git-scm.com/).
* [Docker](https://www.docker.com/products/docker-desktop/) (Opcional).
* [Python](https://www.python.org/downloads/) 3.11.x.
* [Node.js](https://nodejs.org/en) 18.17.x.
## Clone do Repositório:
```
git clone https://github.com/thinogueiras/Robot-Playwright-Gherkin.gitcd Robot-Playwright-Gherkin
```## Instalação do projeto:
```
pip install -r requirements.txt
```## Instruções:
#### Executar o comando abaixo no terminal:
```
rfbrowser init
```## Execução dos testes:
#### Chromium:
```
robot -d ./reports -v BROWSER:Chromium -v HEADLESS:False tests/
```#### Firefox:
```
robot -d ./reports -v BROWSER:Firefox -v HEADLESS:False tests/
```## Docker:
```
docker pull ppodgorsek/robot-framework:latest
```#### Aplicando permissão de execução:
```
chmod +x run-docker-tests-single-thread.bat
```#### Executando o arquivo:
```
./run-docker-tests-single-thread.bat
```
---## Relatórios:
Verifique a pasta `reports` para visualizar os relatórios da execução: `report.html` ou `log.html`.
---
Thiago Nogueira dos Santos 🤓 ✌🏻
QA Automation Engineer 🔎 🐞