Skip to content

Commit be32fcd

Browse files
Update cypress tests
1 parent 0273523 commit be32fcd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

x-pack/test/security_solution_cypress/cypress/e2e/explore/cases/attach_alert_to_case.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ describe('Alerts timeline', () => {
4242

4343
it('should not allow user with read only privileges to attach alerts to existing cases', () => {
4444
// Disabled actions for read only users are hidden, so the ... icon is not even shown
45-
cy.get(TIMELINE_CONTEXT_MENU_BTN).should('not.exist');
45+
cy.get(TIMELINE_CONTEXT_MENU_BTN).should('be.disabled');
4646
});
4747

4848
it('should not allow user with read only privileges to attach alerts to a new case', () => {
4949
// Disabled actions for read only users are hidden, so the ... icon is not even shown
50-
cy.get(TIMELINE_CONTEXT_MENU_BTN).should('not.exist');
50+
cy.get(TIMELINE_CONTEXT_MENU_BTN).should('be.disabled');
5151
});
5252
});
5353

x-pack/test/security_solution_cypress/cypress/tasks/alert_assignments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const checkEmptyAssigneesStateInAlertDetailsFlyout = () => {
9191
};
9292

9393
export const alertsTableMoreActionsAreNotAvailable = () => {
94-
cy.get(TIMELINE_CONTEXT_MENU_BTN).should('not.exist');
94+
cy.get(TIMELINE_CONTEXT_MENU_BTN).should('be.disabled');
9595
};
9696

9797
export const asigneesMenuItemsAreNotAvailable = () => {

0 commit comments

Comments
 (0)