Update config for running download tests on CI

This commit is contained in:
Benjamin Forehand Jr 2019-03-12 20:47:54 -04:00
parent 15704cb6dc
commit bada0707c5
6 changed files with 45 additions and 11 deletions

View file

@ -51,9 +51,10 @@ describe('Firefox Send', function() {
browser.waitForExist(downloadPage.downloadComplete);
browser.back();
browser.waitForExist('send-archive');
assert.equal(
browser.getText('send-archive > div:first-of-type').substring(0, 24),
'Expires after 1 download'
assert(
browser
.getText('send-archive > div:first-of-type')
.includes('Expires after 1 download')
);
});
});