Skip to content

Commit

Permalink
Update cypress for new delete flow
Browse files Browse the repository at this point in the history
Signed-off-by: Simeon Widdis <[email protected]>
  • Loading branch information
Swiddis committed Mar 19, 2024
1 parent 5adf193 commit 4ad0d8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ describe('Add nginx integration instance flow', () => {

cy.get('button[data-test-subj="popoverModal__deleteButton"]').should('be.disabled');

cy.get('input.euiFieldText[placeholder="delete"]').focus().type('delete', {
cy.get(`input.euiFieldText[placeholder="${testInstance}"]`).focus().type(testInstance, {
delay: 50,
});
cy.get('button[data-test-subj="popoverModal__deleteButton"]').should('not.be.disabled');
Expand Down

0 comments on commit 4ad0d8a

Please sign in to comment.