mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 10:03:45 +03:00
chore: fix e2e tests in FF
This commit is contained in:
parent
2a0f226b73
commit
3009d18b39
|
@ -15,6 +15,7 @@ let config = {
|
|||
global.apisGuruList = list;
|
||||
return browser.getCapabilities().then(function (caps) {
|
||||
browser.isIE = caps.get('browserName') === 'internet explorer';
|
||||
browser.isFF = caps.get('browserName') === 'firefox';
|
||||
});
|
||||
});
|
||||
},
|
||||
|
@ -54,7 +55,7 @@ if (travis) {
|
|||
},{
|
||||
browserName: 'firefox',
|
||||
platform: 'Windows 10',
|
||||
version: '47.0',
|
||||
version: '54.0',
|
||||
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
|
||||
build: process.env.TRAVIS_BUILD_NUMBER,
|
||||
name: 'Redoc Firefox Latest/Win build ' + process.env.TRAVIS_BUILD_NUMBER,
|
||||
|
|
|
@ -31,7 +31,7 @@ const MAX_ERROR_MESSAGE_SYMBOLS = 128;
|
|||
//copied from angular/modules/angular2/src/testing/e2e_util.ts
|
||||
function verifyNoBrowserErrors() {
|
||||
// IE doesn't support logs method
|
||||
if (browser.isIE) {
|
||||
if (browser.isIE || browser.isFF) {
|
||||
let err = browser.executeScript('return window.redocError');
|
||||
expect(err).toBeNull();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user