Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Commit

Permalink
hotfix(status-pill): e2e test failing for incorrect status of node
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerfneves committed May 29, 2019
1 parent 0a5ead8 commit 580d3ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/e2e/status-pill.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ afterAll(() => app.stop());

describe('Status Pill', () => {
test('should show status pill in the header', async () => expect(
app.client.waitUntilTextExists('#status-pill', 'SYNCED').getText('#status-pill'),
).resolves.toEqual(expect.stringContaining('SYNCED')));
app.client.waitUntilTextExists('#status-pill', 'ready').getText('#status-pill'),
).resolves.toEqual(expect.stringContaining('ready')));
});

0 comments on commit 580d3ae

Please sign in to comment.