Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/tests/lightspeed-install.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const POPOVER_TITLE = 'Red Hat OpenShift Lightspeed';
const FOOTER_TEXT = 'Always review AI generated content prior to use.';
const PRIVACY_TEXT =
"OpenShift Lightspeed uses AI technology to help answer your questions. Do not include personal information or other sensitive information in your input. Interactions may be used to improve Red Hat's products or services.";
const WELCOME_TEXT = 'Welcome to OpenShift Lightspeed';

const CLEAR_CHAT_TEXT =
'Are you sure you want to erase the current chat conversation and start a new chat? This action cannot be undone.';
Expand Down Expand Up @@ -199,7 +200,9 @@ spec:

cy.visit('/');
cy.byTestID('tour-step-footer-secondary', { timeout: MINUTE }).click();
cy.get(mainButton, { timeout: 5 * MINUTE }).should('exist');
cy.get(mainButton, { timeout: 5 * MINUTE })
.contains(WELCOME_TEXT)
.click();
}
});

Expand Down