mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-39717 behat: Add info to experimental steps definitions
JS modal dialogs and drag & drop should be considered experimental as the steps are not working as expected in all OS/browser combinations.
This commit is contained in:
parent
5e1bdaca7a
commit
7daab4016d
@ -433,7 +433,7 @@ class behat_course extends behat_base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Moves the specified activity to the first slot of a section. Editing mode should be on.
|
||||
* Moves the specified activity to the first slot of a section. This step is experimental when using it in Javascript tests. Editing mode should be on.
|
||||
*
|
||||
* @Given /^I move "(?P<activity_name_string>(?:[^"]|\\")*)" activity to section "(?P<section_number>\d+)"$/
|
||||
* @param string $activityname The activity name
|
||||
@ -528,7 +528,7 @@ class behat_course extends behat_base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes the activity or resource specified by it's name. You should be in the course page with editing mode on.
|
||||
* Deletes the activity or resource specified by it's name. This step is experimental when using it in Javascript tests. You should be in the course page with editing mode on.
|
||||
*
|
||||
* @Given /^I delete "(?P<activity_name_string>(?:[^"]|\\")*)" activity$/
|
||||
* @param string $activityname
|
||||
|
@ -83,7 +83,7 @@ class behat_general extends behat_base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Accepts the currently displayed alert dialog.
|
||||
* Accepts the currently displayed alert dialog. This step does not work in all the browsers, consider it experimental.
|
||||
* @Given /^I accept the currently displayed dialog$/
|
||||
*/
|
||||
public function accept_currently_displayed_alert_dialog() {
|
||||
@ -188,7 +188,7 @@ class behat_general extends behat_base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Drags and drops the specified element to the specified container. This step is experimental.
|
||||
* Drags and drops the specified element to the specified container. This step does not work in all the browsers, consider it experimental.
|
||||
*
|
||||
* The steps definitions calling this step as part of them should
|
||||
* manage the wait times by themselves as the times and when the
|
||||
|
Loading…
x
Reference in New Issue
Block a user