Skip to content

Commit 159609d

Browse files
Updates to cypress tests
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent 595050b commit 159609d

File tree

5 files changed

+1689
-321
lines changed

5 files changed

+1689
-321
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,3 +246,8 @@ cla-backend/run-python-test-example-*.py
246246
out
247247
*.secret
248248
*log*.json
249+
250+
# Cypress test outputs
251+
**/cypress/screenshots/
252+
**/cypress/videos/
253+
**/cypress/reports/

tests/functional/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Installation
2+
3+
Make sure that you have `node` and `npm` installed:
4+
5+
- Run `npm install`.
6+
- Run all tests via: `npx cypress run`.
7+
- Run specific tests from Chrome browser: `npx cypress open`. Choose **E2E testing**, select **Chrome** browser.
8+

tests/functional/cypress.env.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"APP_URL": "https://api-gw.dev.platform.linuxfoundation.org/",
33
"AUTH0_TOKEN_API":"https://linuxfoundation-dev.auth0.com/oauth/token",
4-
"AUTH0_USER_NAME":"vthakur",
4+
"AUTH0_USER_NAME":"vthakur.devadmin",
55
"AUTH0_PASSWORD":"Test@123",
66
"LFX_API_TOKEN":"gDYBt6VYW6cmXelL/a3wTmHMa9sD37Xo9gsgaIjncbw=",
77
"AUTH0_CLIENT_SECRET":"eyJuYW1lIjoiYXV0aDAuanMtdWxwIiwidmVyc2lvbiI6IjkuMTIuMiJ9",
88
"AUTH0_CLIENT_ID":"hquZHO8JNsaIScoayPtCS5VELdn7TnVq",
99
"CYPRESS_ENV" :"dev"
10-
}
10+
}

0 commit comments

Comments
 (0)