I am looking for some ideas on how can I run my jasmine spec on travis-ci in a headless mode. I am looking to use chrome for the headless browser. I followed this blog post to set up my travis builds with chrome to start and I think chrome is running except it has nothing to do.
So I have some serious doubts regarding that:
If I can launch chrome in a headless mode, I can pretty much do anything thats possible to do in chrome normally. So say I want this headless chrome to navigate to google.com, or open up a
html
file from my repo, how can I do that? Theres so much about starting it, nothing to do after that.In the blog post there is a mention about the jasmine spec being run, but nothing about getting it to run. As in how to run.
I also looked up the travis-ci documentation for gui headless testing. Theres a small example related to running jasmine specs, but I cannot figure out anything from it.
So as of now, I have looked quite extensively but with no results. Can someone please guide me a little?