fix: Hide assistant button when showing Click to connect (#10932)

This commit is contained in:
Mutasem Aldmour
2024-09-23 17:38:35 +02:00
committed by GitHub
parent f96977e6e4
commit d74cff2030
3 changed files with 73 additions and 9 deletions

View File

@@ -35,8 +35,7 @@ export class AIAssistant extends BasePage {
codeReplacedMessage: () => cy.getByTestId('code-replaced-message'),
nodeErrorViewAssistantButton: () =>
cy.getByTestId('node-error-view-ask-assistant-button').find('button').first(),
credentialEditAssistantButton: () =>
cy.getByTestId('credentail-edit-ask-assistant-button').find('button').first(),
credentialEditAssistantButton: () => cy.getByTestId('credential-edit-ask-assistant-button'),
codeSnippet: () => cy.getByTestId('assistant-code-snippet-content'),
};