diff --git a/cypress/README.md b/cypress/README.md index 0c5835ea10..26fc23ba99 100644 --- a/cypress/README.md +++ b/cypress/README.md @@ -13,16 +13,16 @@ pnpm run debug:flaky:e2e -- **Examples:** -1. **Run all tests tagged with `@CAT-726` ten times:** +1. **Run all tests tagged with `CAT-726` ten times:** ```bash - pnpm run debug:flaky:e2e -- @CAT-726 10 + pnpm run debug:flaky:e2e CAT-726 10 ``` 2. **Run all tests containing "login" five times (default burn count):** ```bash - pnpm run debug:flaky:e2e -- login + pnpm run debug:flaky:e2e login ``` 3. **Run all tests five times (default grep and burn count):** diff --git a/cypress/e2e/45-ai-assistant.cy.ts b/cypress/e2e/45-ai-assistant.cy.ts index 157c656b46..ab6f4e3f40 100644 --- a/cypress/e2e/45-ai-assistant.cy.ts +++ b/cypress/e2e/45-ai-assistant.cy.ts @@ -49,6 +49,7 @@ describe('AI Assistant::enabled', () => { it('should resize assistant chat up', () => { aiAssistant.getters.askAssistantFloatingButton().click(); aiAssistant.getters.askAssistantSidebarResizer().should('be.visible'); + aiAssistant.getters.askAssistantChat().should('be.visible'); aiAssistant.getters.askAssistantChat().then((element) => { const { width, left } = element[0].getBoundingClientRect(); cy.drag(aiAssistant.getters.askAssistantSidebarResizer(), [left - 10, 0], { @@ -65,6 +66,7 @@ describe('AI Assistant::enabled', () => { it('should resize assistant chat down', () => { aiAssistant.getters.askAssistantFloatingButton().click(); aiAssistant.getters.askAssistantSidebarResizer().should('be.visible'); + aiAssistant.getters.askAssistantChat().should('be.visible'); aiAssistant.getters.askAssistantChat().then((element) => { const { width, left } = element[0].getBoundingClientRect(); cy.drag(aiAssistant.getters.askAssistantSidebarResizer(), [left + 10, 0], {