Skip to content

Commit

Permalink
Adjust the spec expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Fernández Gómez committed Oct 17, 2019
1 parent 54282cf commit 0347e3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await pageObjects.common.navigateToActualUrl('infraLogs', 'logs/stream');
const columnHeaderLabels = await infraLogStream.getColumnHeaderLabels();

expect(columnHeaderLabels).to.eql(['Timestamp', 'event.dataset', 'Message']);
expect(columnHeaderLabels).to.eql(['Oct 17, 2018', 'event.dataset', 'Message']);

const logStreamEntries = await infraLogStream.getStreamEntries();
expect(logStreamEntries.length).to.be.greaterThan(0);
Expand Down Expand Up @@ -98,7 +98,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

// TODO: make test more robust
// expect(columnHeaderLabels).to.eql(['host.name', 'Timestamp']);
expect(columnHeaderLabels).to.eql(['Timestamp', 'host.name']);
expect(columnHeaderLabels).to.eql(['Oct 17, 2018', 'host.name']);

const logStreamEntries = await infraLogStream.getStreamEntries();

Expand Down

0 comments on commit 0347e3e

Please sign in to comment.