Skip to content

Commit

Permalink
no need to scroll to see buttons (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrehault authored Apr 30, 2024
1 parent 9ec7e86 commit 0ff4d68
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cypress/e2e/1-basic/kb-settings.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,10 @@ describe('Change KB settings', () => {
cy.loginToEmptyKb(zone);
goTo('go-to-advanced');
goTo('go-to-settings');
cy.get('.dashboard-content').scrollTo('bottom');
cy.get('[data-cy="save-kb-settings"]').get('button').should('be.disabled');
cy.get('.dashboard-content').scrollTo('top');
cy.get(`[formcontrolname="description"] textarea`).type(
'\nWhy did you say that? Now I feel like I want to delete this kb.\n'
);
cy.get('.dashboard-content').scrollTo('bottom');
cy.get('[data-cy="save-kb-settings"]').click();
cy.get('.pa-toast-wrapper').should('contain', 'The new settings have been saved successfully');
});
Expand Down

0 comments on commit 0ff4d68

Please sign in to comment.