Skip to content

Commit

Permalink
ftr test update delete success getter
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sebastian <[email protected]>
  • Loading branch information
paulstn committed Jan 31, 2024
1 parent e8ea6b8 commit 7c7e49a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ describe('Viewing application', () => {
moveToHomePage();
cy.intercept('GET', 'http://localhost:5601/api/observability/operational_panels/panels/**').as('loadingPanels')
cy.wait('@loadingPanels');
cy.wait('@loadingPanels');
cy.get('[data-test-subj="AvailableAvailabilityBadge"][style="background-color: rgb(84, 179, 153); color: rgb(0, 0, 0);"]').should('contain', 'Available');
moveToApplication(nameOne);
cy.get('[data-test-subj="app-analytics-configTab"]').click();
Expand Down Expand Up @@ -412,7 +411,7 @@ describe('Application Analytics home page', () => {
cy.get('[data-test-subj="deleteApplicationContextMenuItem"]').click();
cy.get('[data-test-subj="popoverModal__deleteTextInput"]').type('delete');
cy.get('[data-test-subj="popoverModal__deleteButton"').click();
cy.get('.euiToast').contains(`Applications successfully deleted!`);
cy.get('.euiToast').contains(`Application "${nameOne}" successfully deleted!`);
cy.get(`[data-test-subj="${newName}ApplicationLink"]`).should('not.exist');
});
});

0 comments on commit 7c7e49a

Please sign in to comment.