diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/workspace-plugin/mds_workspace_initial.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/workspace-plugin/mds_workspace_initial.spec.js index bc2369c32..53ae1cd36 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/workspace-plugin/mds_workspace_initial.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/workspace-plugin/mds_workspace_initial.spec.js @@ -112,9 +112,9 @@ if (Cypress.env('WORKSPACE_ENABLED')) { ); cy.location('hash').should('include', 'useCase=Essentials'); - cy.getElementByTestId('workspaceUseCase-essentials').click({ - force: true, - }); + cy.getElementByTestId('workspaceUseCase-essentials') + .get(`input[type="radio"]`) + .should('be.checked'); }); it('should navigate to workspace list page with use case filter', () => {