Skip to content

Commit

Permalink
Feature/shared idp cypress (#690)
Browse files Browse the repository at this point in the history
* add sync_org to feeder options

* change urls for ckan feeder

* initial working version of shared idp

* put back align in radio-card-group

* add the shared idp aud mapper

* add support for shared idp roles

* upd data rule for isShared

* upd controllers

* fix invalid idp shared check

* First pass at new login screens

* fix invalid query

* add namespace field to metrics

* upd types

* upd kong_http_requests_hourly_service grouping

* upd to handle Activity feed context

* Consolidate login pages to single entry

* Fix dialog, button fixes.

* minor cleanup

* make auto the default for issuer mode

* show error on failed deletion of issuer and svc acct

* add validation on issuer name

* add validation for availableScopes

* add in the delete access catch error

* Fix tabs losing data when creating/editing

* Switch access request button to a button, not link

* Fix button again

* Add content, developer layout

* Update login options order.

* Fix redirect bug, multiple query params

* Create shared-idp.yaml

* Update init.sh

* Optimized Cypress Test and added Cypress Tests for update product environment scenarios

* Fix login redirect inception

* upd shared-idp local

* upg database

* cleanup feeder init

* handle logout on local properly

* Add ignored redirect list, move some content to server

* Fix missing type data

* Update cypress scripts which were failing due to changes in fixture/test data

* include identity content

* upg helm chart for mongodb

* upg helm chart for mongodb

* upg helm chart for mongodb

* upg helm chart for mongodb

* upd mongodb

* add auth callback page

* upd mongodb deploy strategy

* Update ci-build-deploy.yaml

* Fix login data test ids

* Added changes for login refresh scenarios

* removed debugger statement

* Added Testdata ID for login button

* Update Test scenario for Shared IDP

* Remove commented code

* Added wait statement to synchronize the test

Co-authored-by: ikethecoder <ikethecoder@copeconsulting.ca>
Co-authored-by: Joshua Jones <joshua@general-metrics.com>
Co-authored-by: Niraj Patel <niraj.patel@gov.bc.ca>
  • Loading branch information
4 people committed Jan 6, 2023
1 parent a526923 commit 31cf7f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions e2e/cypress/pageObjects/serviceAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class ServiceAccountsPage {
cy.get(this.newServiceAccountBtn).first().click()
this.selectPermissions(scopes)
cy.get(this.shareBtn).click()
cy.wait(8000)
}

checkServiceAccountNotExist() : void
Expand Down
1 change: 1 addition & 0 deletions e2e/cypress/support/auth-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ Cypress.Commands.add('publishApi', (fileName: string, namespace: string, flag?:b
const serviceAcctCreds = JSON.parse(creds.credentials)
cy.getAccessToken(serviceAcctCreds.clientId, serviceAcctCreds.clientSecret).then(
() => {
cy.wait(3000)
cy.get('@accessTokenResponse').then((res: any) => {
const options = {
method: 'PUT',
Expand Down

0 comments on commit 31cf7f0

Please sign in to comment.