-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/shared idp cypress #673
Conversation
Pull in latest dev changes to shared-idp
…to feature/shared-idp-cypress # Conflicts: # local/db/keystone-init.sql
…sh' into feature/shared-idp-cypress
…hared-idp-cypress # Conflicts: # .github/workflows/ci-build-deploy.yaml # src/lists/CredentialIssuer.js # src/lists/extensions/Namespace.ts # src/nextapp/components/auth-action/auth-action.tsx # src/nextapp/components/authorization-profile-form/client-management.tsx # src/nextapp/components/authorization-profile-form/shared-idp.tsx # src/nextapp/components/login-buttons/login-buttons.tsx
|
||
verifyAuthorizationProfileIssuerURL(issuerURL:string) | ||
{ | ||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
e2e/cypress/pageObjects/products.ts
Outdated
@@ -70,12 +75,13 @@ class Products { | |||
} | |||
|
|||
editProductEnvironment(productName: string, envName: string) { | |||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
e2e/cypress/pageObjects/products.ts
Outdated
config: string | undefined | ||
|
||
getTestIdEnvName(env: string): string { | ||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
e2e/cypress/pageObjects/products.ts
Outdated
@@ -88,6 +94,7 @@ class Products { | |||
authType === 'Oauth2 Authorization Code Flow' || | |||
authType === 'Oauth2 Client Credentials Flow' | |||
) { | |||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
e2e/cypress/pageObjects/products.ts
Outdated
.as('checkbox') | ||
.invoke('is', ':checked') | ||
.then(checked => { | ||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
e2e/cypress/support/auth-commands.ts
Outdated
@@ -391,6 +399,27 @@ Cypress.Commands.add('compareJSONObjects', (actualResponse: any, expectedRespons | |||
} | |||
}) | |||
|
|||
Cypress.Commands.add('updatePluginFile',(filename: string, serviceName: string, pluginFileName: string) => { | |||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
e2e/cypress/support/util-commands.ts
Outdated
cy.log('< Saving State') | ||
cy.log(key, value) | ||
let newState | ||
const keyValue = key.toLowerCase() | ||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
prod.environment.config.authIssuer = authProfile.name | ||
prod.environment.config.authIssuerEnv = authProfile.environmentConfig.environment | ||
pd.editProductEnvironmentConfig(prod.environment.config) | ||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
cy.get('@apiowner').then(({ namespace }: any) => { | ||
cy.publishApi('service-plugin.yml', nameSpace).then(() => { | ||
cy.get('@publishAPIResponse').then((res: any) => { | ||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray debugger
cy.contains('Client ID').should('be.visible') | ||
cy.contains('Client Secret').should('be.visible') | ||
cy.contains('Token Endpoint').should('be.visible') | ||
debugger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debuggers
Feature/shared idp cypress (#673)
Added Cypress Test for Shared IDP, product config and login-refresh