Skip to content

Run karma test on CI against several browsers #385

@PVince81

Description

@PVince81

With the karma runner it is possible to run the JS tests against more than just PhantomJS.

The challenge is to have a virtual X server run on CI to which the different browsers can connect to.

To run against Firefox locally for example:

  1. make
  2. build/node_modules/karma/bin/karma start tests/karma.config.js (or use make test-js-debug after reviewing Makefile improvements core#27222)
  3. Open localhost:9876 in Firefox
  4. Wait for the tests to run and observe the result on the console

There are settings for karma to automatically start and stop browsers.

@owncloud/qa @DeepDiver1975 @tboerger something for later

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions