Skip to content

Commit

Permalink
rename notebook to match up with name being checked (#2280)
Browse files Browse the repository at this point in the history
Signed-off-by: Ritvi Bhatt <[email protected]>
Co-authored-by: Ritvi Bhatt <[email protected]>
(cherry picked from commit a387358)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Ritvi Bhatt committed Dec 6, 2024
1 parent ce19b4e commit cbe5e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cypress/integration/notebooks_test/notebooks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ describe('Testing paragraphs', () => {
cy.get('h3[data-test-subj="notebookTitle"]').contains(TEST_NOTEBOOK).should('exist');
cy.get('[data-test-subj="notebook-duplicate-icon"]').click();
cy.get('.euiButton__text').contains('Duplicate').click();
cy.get('h3[data-test-subj="notebookTitle"]').contains(TEST_NOTEBOOK + ' (copy)').should('exist');

cy.get('[data-test-subj="notebook-edit-icon"]').click();
cy.get('input.euiFieldText[data-autofocus="true"]').focus().type(' (rename)');
cy.get('input.euiFieldText[data-autofocus="true"]').clear().type(TEST_NOTEBOOK + ' (rename)');
cy.get('.euiButton__text').last().contains('Rename').click();
cy.reload();

cy.get('h3[data-test-subj="notebookTitle"]')
.contains(TEST_NOTEBOOK + ' (rename)')
Expand Down

0 comments on commit cbe5e73

Please sign in to comment.