Skip to content

Commit f5913f4

Browse files
test: data management examples (#17)
test: data management examples
1 parent 2261758 commit f5913f4

14 files changed

+352
-116
lines changed

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
API_KEY=000zz999

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ node_modules/
22
*-results/
33
playwright-report/
44
allure*
5+
.env
56
lighthouse/

LEEME.md

+12
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@ Podrás acceder a mi canal de [YouTube](https://www.youtube.com/c/CharlyAutomati
5454

5555
npm run api-ui
5656

57+
#### **Para la ejecución de UI + API + Mockaroo Examples**
58+
59+
npm run data-mgmt
60+
61+
**IMPORTANTE**:
62+
63+
Para ejecutar tus propios [Mockaroo](https://www.mockaroo.com/) ejemplos deberás crear una cuenta gratuita, crear el schema que precises y crear un acchivo ".env" en la raíz de tu proyecto con el respectivo **API_KEY** de la cuenta de Mockaroo.
64+
65+
Example .env:
66+
67+
API_KEY=000zz999
68+
5769
#### **Para la ejecución de ejemplos de Accessibility Testing con [Lighthouse](https://www.npmjs.com/package/playwright-lighthouse)**
5870

5971
npm run a11y

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ Download and install
6161

6262
npm run api-ui
6363

64+
#### **To run the tests with UI + API + Mockaroo Examples**
65+
66+
npm run data-mgmt
67+
68+
**IMPORTANT**:
69+
70+
To run your own [Mockaroo](https://www.mockaroo.com/) examples you should create a free account, create a new schema and create a new .env file with your **API_KEY**
71+
72+
Example .env:
73+
74+
API_KEY=000zz999
75+
6476
#### **For running Accessibility Testing examples with [Lighthouse](https://www.npmjs.com/package/playwright-lighthouse)**
6577

6678
npm run a11y

data/users.json

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[
2+
{
3+
"username": "KKE42CYG8RV",
4+
"password": "nGJ77UNB7ZY12."
5+
},
6+
{
7+
"username": "ZWX67FDB2LE",
8+
"password": "CBP74KRG5GO"
9+
},
10+
{
11+
"username": "RNU22SDR0JJ",
12+
"password": "YKN20FPW2RH"
13+
},
14+
{
15+
"username": "QVN08NGN6QL",
16+
"password": "NLJ37ROM4WV"
17+
},
18+
{
19+
"username": "KKE72PWZ3FM",
20+
"password": "ERK29LHV1SD"
21+
},
22+
{
23+
"username": "MRS04JFP9SI",
24+
"password": "UMX36XJG3AI"
25+
},
26+
{
27+
"username": "QWU88ZIN3HB",
28+
"password": "BMC88IZY8QS"
29+
},
30+
{
31+
"username": "DXJ31OAC3BM",
32+
"password": "BXJ10OPA6VW"
33+
},
34+
{
35+
"username": "FDH11ZHX0WL",
36+
"password": "LBM92SVQ7JC"
37+
},
38+
{
39+
"username": "MEO76BLJ7UC",
40+
"password": "TJI24BFL7VL"
41+
},
42+
{
43+
"username": "FYO75ION5NL",
44+
"password": "CIA25NDB5NZ"
45+
},
46+
{
47+
"username": "UWX44HPQ5AE",
48+
"password": "XXB77NNF5NF"
49+
}
50+
]

0 commit comments

Comments
 (0)