mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
Update config for running download tests on CI
This commit is contained in:
@@ -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')
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -3,12 +3,16 @@ const assert = require('assert');
|
||||
const HomePage = require('./pages/desktop/home_page');
|
||||
|
||||
describe('Firefox Send homepage', function() {
|
||||
this.retries(2);
|
||||
const homePage = new HomePage();
|
||||
const baseUrl = browser.options['baseUrl'];
|
||||
const footerLinks = ['mozilla', 'legal', 'legal', 'cookies', 'github'];
|
||||
|
||||
beforeEach(function() {
|
||||
homePage.open();
|
||||
if (process.env.ANDROID) {
|
||||
this.skip();
|
||||
}
|
||||
});
|
||||
|
||||
it('should have the right title', function() {
|
||||
|
||||
Reference in New Issue
Block a user