Skip to content

Commit

Permalink
[Observability] update test for common delete modal (#268) (#271)
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)

Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Cong Wang <conjwang@amazon.com>
  • Loading branch information
2 people authored and Cong Wang committed Feb 10, 2023
1 parent 706c946 commit 1e0131d
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 1e0131d

Please sign in to comment.