Skip to content

Fix for running test cases in a regular browser like Firefox or Chrome - #1795

Merged
lukeapage merged 1 commit into
less:masterfrom
dhaber:browsertest
Jan 10, 2014
Merged

Fix for running test cases in a regular browser like Firefox or Chrome#1795
lukeapage merged 1 commit into
less:masterfrom
dhaber:browsertest

Conversation

@dhaber

@dhaber dhaber commented Jan 10, 2014

Copy link
Copy Markdown
Contributor

I tried running:
grunt connect:server:keepalive

and then running the tests like:
http://localhost:8081/tmp/browser/test-runner-rootpath-relative.html

but most of the tests failed in Firefox and Chrome because lessOutputObj.innerText was empty, however, innerHTML was populated. So if you add an "or" check it won't break the phantomjs tests but will also work in a regular browser.

@lukeapage

Copy link
Copy Markdown
Member

thanks.

lukeapage added a commit that referenced this pull request Jan 10, 2014
Fix for running test cases in a regular browser like Firefox or Chrome
@lukeapage
lukeapage merged commit 3689d81 into less:master Jan 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants