Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Oct 6, 2022
1 parent 31601cf commit c10b683
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x-pack/test/functional/services/cases/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function CasesTableServiceProvider(
},

async refreshTable() {
await testSubjects.click('all-cases-refresh');
await testSubjects.click('all-cases-refresh-link-icon');
},

async openRowActions(index: number) {
Expand All @@ -177,7 +177,8 @@ export function CasesTableServiceProvider(

async selectAllCasesAndOpenBulkActions() {
await testSubjects.setCheckbox('checkboxSelectAll', 'check');
const button = await find.byCssSelector('[aria-label="Bulk actions"]');
await testSubjects.existOrFail('case-table-bulk-actions-link-icon');
const button = await testSubjects.find('case-table-bulk-actions-link-icon');
await button.click();
},

Expand Down

0 comments on commit c10b683

Please sign in to comment.