Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 10, 2014

Conversation

dhaber
Copy link
Contributor

@dhaber dhaber commented Jan 10, 2014

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
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