From 20a57392507d11387cdd130829e913164d004aea Mon Sep 17 00:00:00 2001 From: Thiago Nogueira dos Santos Date: Tue, 12 Mar 2024 13:47:40 -0300 Subject: [PATCH] Ajustes em timeout's --- package.json | 4 ++-- resources/base.resource | 3 +-- resources/pages/SignupPage.robot | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 21965b8..5b34c77 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/resources/base.resource b/resources/base.resource index 42496dc..c34ce48 100644 --- a/resources/base.resource +++ b/resources/base.resource @@ -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 diff --git a/resources/pages/SignupPage.robot b/resources/pages/SignupPage.robot index 70a11d8..53bd8f9 100644 --- a/resources/pages/SignupPage.robot +++ b/resources/pages/SignupPage.robot @@ -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