This repository was archived by the owner on Jul 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-31
lines changed Expand file tree Collapse file tree 2 files changed +7
-31
lines changed Original file line number Diff line number Diff line change @@ -82,19 +82,19 @@ exports.config = {
82
82
seleniumAddress: ' http://localhost:4444/wd/hub' ,
83
83
84
84
baseUrl: ' https://angularjs.org/' ,
85
-
85
+
86
86
capabilities: {
87
87
browserName: ' chrome'
88
88
},
89
89
90
- framework: ' custom' , // set to "custom" instead of cucumber.
91
-
90
+ framework: ' custom' , // set to "custom" instead of cucumber.
91
+
92
92
frameworkPath: require .resolve (' protractor-cucumber-framework' ), // path relative to the current config file
93
-
93
+
94
94
specs: [
95
95
' ./cucumber/*.feature' // Specs here are the cucumber feature files
96
96
],
97
-
97
+
98
98
// cucumber command line options
99
99
cucumberOpts: {
100
100
require: [' ./cucumber/*.js' ], // require step definition files before executing features
@@ -115,5 +115,3 @@ Using a Custom Framework
115
115
------------------------
116
116
117
117
Check section [ Framework Adapters for Protractor] ( /lib/frameworks/README.md ) specifically [ Custom Frameworks] ( /lib/frameworks/README.md#custom-frameworks )
118
-
119
-
Original file line number Diff line number Diff line change 1
1
import { PluginConfig } from './plugins' ;
2
2
3
3
export interface Config {
4
+ [ key : string ] : any ;
5
+
4
6
// ---------------------------------------------------------------------------
5
7
// ----- How to connect to Browser Drivers -----------------------------------
6
8
// ---------------------------------------------------------------------------
@@ -560,30 +562,6 @@ export interface Config {
560
562
*/
561
563
mochaOpts ?: { [ key : string ] : any ; ui ?: string ; reporter ?: string ; } ;
562
564
563
- /**
564
- * Options to be passed to Cucumber (when set up as a custom framework).
565
- */
566
- cucumberOpts ?: {
567
- [ key : string ] : any ;
568
- /**
569
- * Require files before executing the features.
570
- */
571
- require ?: string [ ] | string ;
572
- /**
573
- * Only execute the features or scenarios with tags matching @dev.
574
- * This may be an array of strings to specify multiple tags to include.
575
- */
576
- tags ?: string ;
577
- /**
578
- * How to format features (default: progress)
579
- */
580
- format ?: string [ ] | string ;
581
- /**
582
- * Quickly scan your features without actually running them.
583
- */
584
- dryRun ?: boolean ;
585
- } ;
586
-
587
565
/**
588
566
* See docs/plugins.md
589
567
*/
You can’t perform that action at this time.
0 commit comments