Skip to content

Commit

Permalink
add cypress tests for v3 of api
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Jun 5, 2024
1 parent 6d6b48d commit 78f9429
Show file tree
Hide file tree
Showing 25 changed files with 1,708 additions and 527 deletions.
5 changes: 4 additions & 1 deletion e2e/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default defineConfig({
'./cypress/tests/16-*/*.ts',
'./cypress/tests/17-*/*.ts',
'./cypress/tests/18-*/*.ts',
'./cypress/tests/19-*/*.ts',
]
return config
},
Expand All @@ -59,7 +60,7 @@ export default defineConfig({
env: {
CLIENT_ID: 'aps-portal',
CLIENT_SECRET: '8e1a17ed-cb93-4806-ac32-e303d1c86018',
OIDC_ISSUER: 'http://keycloak.localtest.me:9081',
OIDC_ISSUER: 'http://keycloak.localtest.me:9081/auth/realms/master',
TOKEN_URL:
'http://keycloak.localtest.me:9081/auth/realms/master/protocol/openid-connect/token',
GWA_API_URL: 'http://gwa-api.localtest.me:2000/v2',
Expand All @@ -69,6 +70,8 @@ export default defineConfig({
BASE_URL: 'http://oauth2proxy.localtest.me:4180',
KEYCLOAK_URL: 'http://keycloak.localtest.me:9081',
WEBAPP_URL: 'http://html-sample-app.localtest.me:4242',
DEV_USERNAME: 'janis@idir',
DEV_PASSWORD: 'awsummer',
},
retries: {
runMode: 2,
Expand Down
6 changes: 6 additions & 0 deletions e2e/cypress/fixtures/api-v3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"gateway": {
"displayName": "My Gateway"
},
"model": []
}
Loading

0 comments on commit 78f9429

Please sign in to comment.