Skip to content

Commit

Permalink
e2e stability
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Feb 16, 2017
1 parent 3a6835e commit 4faae76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/app/e2e/admin/publication.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ describe('Admin', () => {
const headersText = await Promise.all(headers.map(h => h.getText()));
expect(headersText).toEqual(['uri', 'stronger', 'name']);

await driver.sleep(5000);

const rows = await Promise.all([1, 2, 3, 4].map(index =>
Promise.all([
driver
Expand Down
2 changes: 1 addition & 1 deletion src/app/e2e/admin/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('Admin', () => {

it('should remove a resource which has been restored', async () => {
const buttons = await driver.findElements(By.css('.btn-restore-resource'));
await buttons[0].click();
await driver.wait(elementIsClicked(buttons[0]), DEFAULT_WAIT_TIMEOUT);

await driver.sleep(500);
const trs = await driver.findElements(By.css('.removed_resources table tbody tr'));
Expand Down

0 comments on commit 4faae76

Please sign in to comment.