@@ -159,6 +159,7 @@ protected function find_moodleoverflow_discussion_card(string $discussiontitle):
159
159
$ discussiontitle . '"]] ' );
160
160
}
161
161
162
+ // phpcs:disable moodle.Files.LineLength.TooLong
162
163
/**
163
164
* Checks that an element and selector type exists in another element and selector type on the current page.
164
165
*
@@ -171,6 +172,7 @@ protected function find_moodleoverflow_discussion_card(string $discussiontitle):
171
172
* @param string $discussiontitle The discussion title
172
173
*/
173
174
public function should_exist_in_the_moodleoverflow_discussion_card ($ element , $ selectortype , $ discussiontitle ) {
175
+ // phpcs:enable
174
176
// Get the container node.
175
177
$ containernode = $ this ->find_moodleoverflow_discussion_card ($ discussiontitle );
176
178
@@ -182,6 +184,7 @@ public function should_exist_in_the_moodleoverflow_discussion_card($element, $se
182
184
$ this ->find ($ selectortype , $ element , $ exception , $ containernode );
183
185
}
184
186
187
+ // phpcs:disable moodle.Files.LineLength.TooLong
185
188
/**
186
189
* Click on the element of the specified type which is located inside the second element.
187
190
*
@@ -191,6 +194,7 @@ public function should_exist_in_the_moodleoverflow_discussion_card($element, $se
191
194
* @param string $discussiontitle The discussion title
192
195
*/
193
196
public function i_click_on_in_the_moodleoverflow_discussion_card ($ element , $ selectortype , $ discussiontitle ) {
197
+ // phpcs:enable
194
198
// Get the container node.
195
199
$ containernode = $ this ->find_moodleoverflow_discussion_card ($ discussiontitle );
196
200
@@ -204,6 +208,7 @@ public function i_click_on_in_the_moodleoverflow_discussion_card($element, $sele
204
208
$ node ->click ();
205
209
}
206
210
211
+ // phpcs:disable moodle.Files.LineLength.TooLong
207
212
/**
208
213
* Checks that an element and selector type does not exist in another element and selector type on the current page.
209
214
*
@@ -216,6 +221,7 @@ public function i_click_on_in_the_moodleoverflow_discussion_card($element, $sele
216
221
* @param string $discussiontitle The discussion title
217
222
*/
218
223
public function should_not_exist_in_the_moodleoverflow_discussion_card ($ element , $ selectortype , $ discussiontitle ) {
224
+ // phpcs:enable
219
225
// Get the container node.
220
226
$ containernode = $ this ->find_moodleoverflow_discussion_card ($ discussiontitle );
221
227
0 commit comments