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

Feature Request: Support Chrome Packaged Apps #2213

Closed
mmocny opened this issue Apr 27, 2014 · 6 comments
Closed

Feature Request: Support Chrome Packaged Apps #2213

mmocny opened this issue Apr 27, 2014 · 6 comments

Comments

@mmocny
Copy link

mmocny commented Apr 27, 2014

It's possible to run chrome headless and load packaged apps from command line flag. The real difficulty would be in setting up a sandboxed environment for them to run in, given the api privilages.

This was requested on Stack Overflow: http://stackoverflow.com/questions/23324523/with-travis-ci-how-do-i-test-chrome-packaged-apps

Will this ever be considered?

@roidrage
Copy link
Contributor

roidrage commented May 5, 2014

We don't have any knowledge about Chrome Packaged Apps unfortunately.

What would be involved in testing these, in particular regarding the API privileges you've mentioned?

@mmocny
Copy link
Author

mmocny commented May 5, 2014

Well, I'm not well versed in how Travis works, but you can signal Chrome to launch a Chrome App from the command line. I then typically bundle a jasmine test suite with my app and report back to a custom CI. Depending on what level of communication you require with the app, we can discuss options, but you can use web inspector on them etc.

My point about API privileges was because Chrome Packaged apps can access to system API's like sockets, bluetooth, usb, etc. See more here: permissions.

@roidrage
Copy link
Contributor

roidrage commented May 5, 2014

Have you had any luck setting up an app on Travis CI?

@mmocny
Copy link
Author

mmocny commented May 5, 2014

I haven't tried, I assumed it would not be possible, and was just filing the issue on behalf of the Stack Overflow question.

Does Travis allow specifying arbitrary shell commands for launching tests? I assumed you only launch pages by url, which won't work for a packaged app.

@roidrage
Copy link
Contributor

roidrage commented May 5, 2014

You can run anything to run your tests. Just specify a custom script command in your build script: http://docs.travis-ci.com/user/customizing-the-build/

@roidrage
Copy link
Contributor

I'm closing this for now.

Let us know if you have any more feedback or questions on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants