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

Commit 0cd3921

Browse files
committedDec 14, 2017
fix(ngScenario): completely remove the angular scenario runner
The runner has been deprecated and undocumented since 2014: See commit 8d6d126899d4b1927360599403a7592011243270 Closes #9405 BREAKING CHANGE: The angular scenario runner end-to-end test framework has been removed from the project and will no longer be available on npm or bower starting with 1.7.0. It was deprecated and removed from the documentation in 2014. Applications that still use it should migrate to [Protractor](http://www.protractortest.org). Technically, it should also be possible to continue using an older version of the scenario runner, as the underlying APIs have not changed. However, we do not guarantee future compatibility.
1 parent f6e60c1 commit 0cd3921

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1
-4689
lines changed
 

‎Gruntfile.js

-12
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,6 @@ module.exports = function(grunt) {
186186
},
187187

188188
build: {
189-
scenario: {
190-
dest: 'build/angular-scenario.js',
191-
src: [
192-
'bower_components/jquery/dist/jquery.js',
193-
util.wrap([files['angularSrc'], files['angularScenario']], 'ngScenario/angular')
194-
],
195-
styles: {
196-
css: ['css/angular.css', 'css/angular-scenario.css']
197-
}
198-
},
199189
angular: {
200190
dest: 'build/angular.js',
201191
src: util.wrap([files['angularSrc']], 'angular'),
@@ -281,9 +271,7 @@ module.exports = function(grunt) {
281271
files: [
282272
'src/**/*.js',
283273
'test/**/*.js',
284-
'!test/ngScenario/DescribeSpec.js',
285274
'!src/ng/directive/attrs.js', // legitimate xit here
286-
'!src/ngScenario/**/*.js',
287275
'!test/helpers/privateMocks*.js'
288276
],
289277
options: {

‎angularFiles.js

-27
Original file line numberDiff line numberDiff line change
@@ -153,26 +153,8 @@ var angularFiles = {
153153
]
154154
},
155155

156-
'angularScenario': [
157-
'src/ngScenario/Scenario.js',
158-
'src/ngScenario/Application.js',
159-
'src/ngScenario/Describe.js',
160-
'src/ngScenario/Future.js',
161-
'src/ngScenario/ObjectModel.js',
162-
'src/ngScenario/Runner.js',
163-
'src/ngScenario/SpecRunner.js',
164-
'src/ngScenario/dsl.js',
165-
'src/ngScenario/matchers.js',
166-
'src/ngScenario/output/Html.js',
167-
'src/ngScenario/output/Json.js',
168-
'src/ngScenario/output/Xml.js',
169-
'src/ngScenario/output/Object.js'
170-
],
171-
172156
'angularTest': [
173157
'test/helpers/*.js',
174-
'test/ngScenario/*.js',
175-
'test/ngScenario/output/*.js',
176158
'test/*.js',
177159
'test/auto/*.js',
178160
'test/ng/**/*.js',
@@ -193,22 +175,15 @@ var angularFiles = {
193175
'test/jquery_remove.js',
194176
'@angularSrc',
195177
'@angularSrcModules',
196-
'@angularScenario',
197178
'@angularTest'
198179
],
199180

200181
'karmaExclude': [
201182
'test/jquery_alias.js',
202183
'src/angular-bootstrap.js',
203-
'src/ngScenario/angular-bootstrap.js',
204184
'src/angular.bind.js'
205185
],
206186

207-
'karmaScenario': [
208-
'build/angular-scenario.js',
209-
'build/docs/docs-scenario.js'
210-
],
211-
212187
'karmaModules': [
213188
'build/angular.js',
214189
'@angularSrcModules',
@@ -231,13 +206,11 @@ var angularFiles = {
231206
'test/jquery_alias.js',
232207
'@angularSrc',
233208
'@angularSrcModules',
234-
'@angularScenario',
235209
'@angularTest'
236210
],
237211

238212
'karmaJqueryExclude': [
239213
'src/angular-bootstrap.js',
240-
'src/ngScenario/angular-bootstrap.js',
241214
'test/jquery_remove.js',
242215
'src/angular.bind.js'
243216
]

0 commit comments

Comments
 (0)
This repository has been archived.