karma-ng-extjs-scenario
Frontend UI Automated browser testing for Ext JS (based on karma-ng-scenario)
We will use Karma for automated browser testing, Jasmine as the unit testing framework and karma-ng-extjs-scenario which is basically a fork from karma-ng-scenario for E2E testing.
1 - Prerequisites
Install Node.js and Node package manager - npm.
2 - Install required Node modules
Package | |
---|---|
1 | npm install karma |
2 | npm install karma-chrome-launcher |
3 | npm install karma-jasmine |
4 | npm install karma-ng-extjs-scenario |
3 - Setup a Karma configuration file
More info on what is a Karma configuration file.
Karma configuration file example
4 - Build a Jasmine Behavior-Driven JavaScript suite test.
Jasmine unit test file example
5 - Run automated test suite.
karma start karmaconfjs