8000 WIP: add E2E test suite unrelated to docs examples by caitp · Pull Request #9557 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

WIP: add E2E test suite unrelated to docs examples #9557

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP: fix .jshintrc files and add test:e2e task for the basic e2e tests
  • Loading branch information
caitp committed Oct 20, 2014
commit 9e68babf030c69f05ce92604807bf8c1f732325c
2 changes: 2 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ module.exports = function(grunt) {
grunt.registerTask('test:modules', 'Run the Karma module tests with Karma', ['tests:modules']);
grunt.registerTask('test:docs', 'Run the doc-page tests with Karma', ['package', 'tests:docs']);
grunt.registerTask('test:unit', 'Run unit, jQuery and Karma module tests with Karma', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
grunt.registerTask('test:e2e', 'Run E2E tests with Protractor with a test server running in the background',
['webdriver', 'connect:testserver', 'protractor:normal']);
grunt.registerTask('test:protractor-docs', 'Run the end to end docs tests with Protractor and keep a test server running in the background',
['webdriver', 'connect:testserver', 'protractor-docs:normal']);
grunt.registerTask('test:travis-protractor-docs', 'Run the end to end docs tests with Protractor for Travis CI builds', ['connect:testserver', 'protractor-docs:travis']);
Expand Down
11 changes: 4 additions & 7 deletions test/e2e/fixtures/.jshintrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"node": true,
"browser": true,
"globals": {
"describe": false,
"ddescribe": false,
"xdescribe": false,
"it": false,
"xit": false,
"iit": false,
"angular": false,
"jQuery": false,
"$": false
}
}
11 changes: 7 additions & 4 deletions test/e2e/tests/.jshintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"browser": true,
"node": true,
"globals": {
"angular": false,
"jQuery": false,
"$": false
"describe": false,
"ddescribe": false,
"xdescribe": false,
"it": false,
"xit": false,
"iit": false
}
}
0