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

How to run testing on file protocol? #2

Closed
SLyHuy opened this issue Jul 24, 2015 · 2 comments
Closed

How to run testing on file protocol? #2

SLyHuy opened this issue Jul 24, 2015 · 2 comments

Comments

@SLyHuy
Copy link

SLyHuy commented Jul 24, 2015

Hi,

I try to test website on local machine by using:

url:'../index.html',

But SUCCSS can not work.
I know BackstopJS and PhantomCSS can do.

Thanks,
Huy Ly.

@B2F
Copy link
Owner

B2F commented Jul 24, 2015

It might be possible to update the source at what is currently https://github.com/B2F/Succss/blob/v1.7.2/succss.js#L183

We would need another case detecting relative path to local files and formatting them without 'http://', I think it should work. Atm, you can try editing your succss.js file locally.

Unfortunately I don't plan to add features to Succss v1 as of now, only major blocking bugfixes.
I plan to release a new version of the tool based on WebdriverIO instead of CasperJS. I will be post announcement of the next major version on the github project home.

So to sum up, for this to be working out of the box, you need a webserver running locally at least.

Thanks for your interested in this project SLyHuy !

@B2F B2F closed this as completed Jul 24, 2015
@B2F
Copy link
Owner

B2F commented Jul 24, 2015

Feel free to fork tho !

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

No branches or pull requests

2 participants