Skip to content

Commit b618ef8

Browse files
committed
ajuste no arquivo readme
1 parent 01f45ba commit b618ef8

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ git clone https://github.com/renan7k/Restful-Booker-Api.git
2929
npm 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
3339
1 - Para execução dos testes no modo iterativo:
3440
```bash

cypress.env.example.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
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
}

0 commit comments

Comments
 (0)