garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.79k stars 604 forks source link

[question] does backstopjs work with cloud services like Browserstack? #775

Open nutdesign opened 6 years ago

nutdesign commented 6 years ago

If so, pointers?

garris commented 6 years ago

If you get an environment that can run node apps then yes — e.g. it runs in Travis. I am not familiar with Browserstack though.

JustinT01 commented 6 years ago

Browserstack is all about cross browser testing and since backstopjs tests can only be executed on Chrome Headless, Phantom and Slimer, I am not sure if it would make any sense to run backstop tests on browserstack unless you just want to run it on their cloud agents.

nutdesign commented 6 years ago

Thanks. I'm fairly new to visual regression tools. I guess you already answered this in https://github.com/garris/BackstopJS/issues/144
Browserstack has an API and a Selenium service. Webdriver.io and WebdriverCSS can tap into it, for example. http://webdriver.io/guide/services/browserstack.html https://www.browserstack.com/automate/webdriverio

I really like the Backstop interface for viewing screen diffs! Would be nice to set up tests and then use the same ones for more comprehensive cross-browser testing.

garris commented 6 years ago

Yes. You would need to integrate webdriver. It’s doable. There is an older PR for this but it’s been abandoned. Feel free to pick it up.

saiz97 commented 4 years ago

Hey @nutdesign, since this is still an open issue, I thought to myself I would just ask.

Did you manage to integrate with Browserstack? If yes how?

I'm pretty new to both Browserstack and Backstop - so you would be a great help to me!

Cheers

garris commented 4 years ago

I think browserstack might have their own solution for this. A backstop-like solution. Try searching for that.

If there is nothing already available then there is solution you could build using backstop-remote but it might be a day or so time investment.

generalredneck commented 3 years ago

FYI, to clarify, https://percy.io/ is what @garris is referring to.