Karma is currently a supported test runner. Here is my testacular-e2e.conf.js file.
basePath = '../'; files = [ ANGULAR_SCENARIO, ANGULAR_SCENARIO_ADAPTER, 'test/e2e/**/*.js' ]; autoWatch = false; browsers = ['Chrome']; singleRun = true; proxies = { '/': 'http://localhost:3000/' }; junitReporter = { outputFile: 'test_out/e2e.xml', suite: 'e2e' };
The important part of proxies . It configures testacular to use your server. If I'm not mistaken, Django works on port 8000 in development. So proxies will look like this:
proxies = { '/': 'http://127.0.0.1:8000/' };
After installing testacular through npm and creating this configuration file, you can start your server and run your e2e tests as follows:
$ testacular start config/testacular-e2e.conf.js
source share