Skip to content

Commit

Permalink
Ajustes em timeout's
Browse files Browse the repository at this point in the history
  • Loading branch information
thinogueiras committed Mar 12, 2024
1 parent 00a4e41 commit 20a5739
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "1.0.0",
"description": "Projeto de testes E2E com Robot Framework e Selenium WebDriver",
"scripts": {
"test:chrome": "robot -d ./logs -v BROWSER:chrome tests/",
"test:chrome:headless": "robot -d ./logs -v BROWSER:headlesschrome tests/",
"test:chrome": "robot -d ./reports -v BROWSER:chrome tests/",
"test:chrome:headless": "robot -d ./reports -v BROWSER:headlesschrome tests/",
"test:browserstack": "browserstack-sdk robot -d ./reports -e ignore-bs tests/"
},
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions resources/base.resource
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ Resource pages/HomePage.robot
Resource pages/SignupPage.robot

*** Variables ***
${BASE_URL} https://buger-eats-qa.vercel.app
${BROWSER} chrome

*** Keywords ***
Start Test
Open Browser url=${BASE_URL}
Open Browser url=https://buger-eats-qa.vercel.app
... browser=${BROWSER}

Set Selenium Implicit Wait 15
Expand Down
2 changes: 1 addition & 1 deletion resources/pages/SignupPage.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Library ${EXECDIR}/resources/libs/cpf_creator.py
Start Registration
Click Element css=a[href="/deliver"]

Wait Until Location Contains /deliver
Wait Until Location Contains /deliver timeout=15

Wait Until Element Contains css=h1 Cadastre-se

Expand Down

2 comments on commit 20a5739

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
10 0 0 10 100 11.606791s

Passed Tests

Name ⏱️ Duration Suite
Deve validar o título da página inicial 2.306 s Home
Deve validar o logo Buger Eats 0.558 s Home
Deve validar o texto do cabeçalho 0.543 s Home
Deve validar o texto central 0.550 s Home
Deve registrar o usuário como entregador 1.513 s Signup
Deve validar CPF inválido 1.222 s Signup
Deve validar E-mail inválido 1.219 s Signup
Deve validar Whatsapp inválido 1.213 s Signup
Deve validar CEP inválido 1.332 s Signup
Deve validar os campos obrigatórios 1.150 s Signup

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
9 0 0 9 100 1m22.125502s

Passed Tests

Name ⏱️ Duration Suite
Deve validar o título da página inicial 5.578 s Home
Deve validar o logo Buger Eats 7.232 s Home
Deve validar o texto do cabeçalho 8.243 s Home
Deve validar o texto central 10.505 s Home
Deve validar CPF inválido 9.773 s Signup
Deve validar E-mail inválido 9.546 s Signup
Deve validar Whatsapp inválido 11.040 s Signup
Deve validar CEP inválido 9.641 s Signup
Deve validar os campos obrigatórios 10.566 s Signup

Please sign in to comment.