@@ -72,65 +72,45 @@ function generateSuite(array $args)
72
72
}
73
73
74
74
/**
75
- * Run all Functional tests using the Chrome environment .
75
+ * Run all Functional tests.
76
76
*
77
77
* @return void
78
78
*/
79
- function chrome ()
79
+ function functional ()
80
80
{
81
- $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR .'bin ' . DIRECTORY_SEPARATOR .'codecept run functional --env chrome --skip-group skip ' );
81
+ $ this ->_exec ('. ' . DIRECTORY_SEPARATOR . ' vendor ' . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'codecept run functional --skip-group skip ' );
82
82
}
83
83
84
84
/**
85
- * Run all Functional tests using the FireFox environment.
86
- *
87
- * @return void
88
- */
89
- function firefox ()
90
- {
91
- $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR .'bin ' . DIRECTORY_SEPARATOR .'codecept run functional --env firefox --skip-group skip ' );
92
- }
93
-
94
- /**
95
- * Run all Functional tests using the Chrome Headless environment.
96
- *
97
- * @return void
98
- */
99
- function headless ()
100
- {
101
- $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR .'bin ' . DIRECTORY_SEPARATOR .'codecept run functional --env headless --skip-group skip ' );
102
- }
103
-
104
- /**
105
- * Run all Tests with the specified @group tag, excluding @group 'skip', using the Chrome environment.
85
+ * Run all Tests with the specified @group tag, excluding @group 'skip'.
106
86
*
107
87
* @param string $args
108
88
* @return void
109
89
*/
110
90
function group ($ args = '' )
111
91
{
112
- $ this ->taskExec ('vendor ' . DIRECTORY_SEPARATOR .'bin ' . DIRECTORY_SEPARATOR .'codecept run functional --verbose --steps --env chrome --skip-group skip --group ' )->args ($ args )->run ();
92
+ $ this ->taskExec ('. ' . DIRECTORY_SEPARATOR . ' vendor ' . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'codecept run functional --verbose --steps --skip-group skip --group ' )->args ($ args )->run ();
113
93
}
114
94
115
95
/**
116
- * Run all Functional tests located under the Directory Path provided using the Chrome environment .
96
+ * Run all Functional tests located under the Directory Path provided.
117
97
*
118
98
* @param string $args
119
99
* @return void
120
100
*/
121
101
function folder ($ args = '' )
122
102
{
123
- $ this ->taskExec ('vendor ' . DIRECTORY_SEPARATOR .'bin ' . DIRECTORY_SEPARATOR .'codecept run functional --env chrome ' )->args ($ args )->run ();
103
+ $ this ->taskExec ('. ' . DIRECTORY_SEPARATOR . ' vendor ' . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'codecept run functional ' )->args ($ args )->run ();
124
104
}
125
105
126
106
/**
127
- * Run all Tests marked with the @group tag 'example', using the Chrome environment .
107
+ * Run all Tests marked with the @group tag 'example'.
128
108
*
129
109
* @return void
130
110
*/
131
111
function example ()
132
112
{
133
- $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR .'bin ' . DIRECTORY_SEPARATOR .'codecept run --env chrome --group example --skip-group skip ' );
113
+ $ this ->_exec ('. ' . DIRECTORY_SEPARATOR . ' vendor ' . DIRECTORY_SEPARATOR . 'bin ' . DIRECTORY_SEPARATOR . 'codecept run --group example --skip-group skip ' );
134
114
}
135
115
136
116
/**
0 commit comments