Skip to content

Commit

Permalink
Remove filter check test and amend archive data to match new field va…
Browse files Browse the repository at this point in the history
…lues
  • Loading branch information
Kerry350 committed Aug 31, 2021
1 parent ce21a13 commit bb9f05c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions x-pack/test/functional/apps/observability/alerts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

it('Renders the correct number of cells', async () => {
// NOTE: This isn't ideal, but EuiDataGrid doesn't really have the concept of "rows"
const rows = await testSubjects.findAll('dataGridRowCell');
expect(rows.length).to.be(35);
});

it('Sets the correct default filter', async () => {
const queryInput = await testSubjects.find('queryInput');
const filter = await queryInput.getAttribute('value');
expect(filter).to.be(`kibana.alert.status: "open"`);
const cells = await testSubjects.findAll('dataGridRowCell');
expect(cells.length).to.be(140);
});
});
});
Expand Down
Binary file not shown.

0 comments on commit bb9f05c

Please sign in to comment.