We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b897f7 commit 6289982Copy full SHA for 6289982
frontend/packages/integration-tests-cypress/tests/cluster-settings/oauth.cy.ts
@@ -87,8 +87,13 @@ describe('OAuth', () => {
87
88
it(`removes the Basic Authentication IDP 'basic-auth-${testName}' in the list on the OAuth settings page`, () => {
89
const idpName = `basic-auth-${testName}`;
90
+
91
+ // Open the kebab menu and remove the IDP
92
cy.get(`[data-test-idp-kebab-for="${idpName}"]`).find('[data-test-id="kebab-button"]').click();
93
cy.get('[data-test-action="Remove identity provider"]').should('be.visible').click();
94
cy.get('[data-test="confirm-action"]').click();
95
96
+ // Verify the IDP was successfully removed
97
+ cy.get(`[data-test-idp-kebab-for="${idpName}"]`).should('not.exist');
98
});
99
0 commit comments