File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ git clone https://github.com/renan7k/Restful-Booker-Api.git
2929npm install
3030```
3131
32+ ### Configuração das variáveis de ambiente
33+ Antes de executar os testes, algumas variáveis de ambiente precisam ser configuradas.
34+
35+ Faça uma cópia do arquivo 'cypress.env.example.json' e renomeie como 'cypress.env.json' e defina os valores apropriados para todas as variáveis.
36+ Observação: o arquivo cypress.env.json não é rastreado pelo git, pois está listado no arquivo .gitignore.
37+
3238 ### Execução dos testes
33391 - Para execução dos testes no modo iterativo:
3440``` bash
Original file line number Diff line number Diff line change 11{
22 "AUTHORIZATION_TOKEN" : " authorizathion" ,
33 "invalidAuthorization" : " authorization invalid" ,
4- "CREDENTIALS" : " {\" username\" : \" xxx\" , \" password\" : \" xxxxxx\" }"
4+ "CREDENTIALS" : {
5+ "username" : " user" ,
6+ "password" : " password"
7+ }
58}
You can’t perform that action at this time.
0 commit comments