Skip to content

Commit

Permalink
functional test: investigate on Edge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Jun 24, 2017
1 parent a2cf561 commit 7e0d8ee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/functional/auto/hlsjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,12 @@ describe('testing hls.js playback in the browser on "'+browserDescription+'"', f
return this.browser.get('http://127.0.0.1:8000/tests/functional/auto/hlsjs.html').then(function() {
// ensure that the page has loaded and we haven't got an error page
return this.browser.findElement(webdriver.By.css('body#hlsjs-functional-tests')).catch(function(e) {
console.log("Test page not loaded.");
return Promise.reject(e);
});
console.log("CSS not found");
this.browser.getPageSource().then(function(source){
console.log(source);
return Promise.reject(e);
});
}.bind(this));
}.bind(this));
}.bind(this)).then(function() {
console.log("Test page loaded.");
Expand Down

0 comments on commit 7e0d8ee

Please sign in to comment.