Skip to content

Commit

Permalink
[Observability] update test for common delete modal (#268)
Browse files Browse the repository at this point in the history
Origin: opensearch-project/observability@9d16389

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit f6fc9a0)
  • Loading branch information
kavilla authored and github-actions[bot] committed Jul 25, 2022
1 parent 77636f1 commit 2e4d613
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 2e4d613

Please sign in to comment.