Skip to content

Commit

Permalink
[Observability] update test for common delete modal (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#268)

Origin: opensearch-project/observability@9d16389

Signed-off-by: Kawika Avilla <[email protected]>
Signed-off-by: Jakub Przybylski <[email protected]>
  • Loading branch information
kavilla authored and jakubp-eliatra committed Mar 24, 2023
1 parent 31a3702 commit 47dc7df
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,10 @@ describe('Application Analytics home page', () => {
cy.get('[data-test-subj="deleteApplicationContextMenuItem"]', {
timeout: delayTime,
}).click();
cy.get('[data-test-subj="confirmModalConfirmButton"]', {
cy.get('[data-test-subj="popoverModal__deleteTextInput"]', {
timeout: delayTime,
}).type('delete');
cy.get('[data-test-subj="popoverModal__deleteButton"', {
timeout: delayTime,
}).click();
cy.get(`[data-test-subj="${newName}ApplicationLink"]`, {
Expand Down

0 comments on commit 47dc7df

Please sign in to comment.