Skip to content

Commit

Permalink
Merge branch 'wip-mdl-53126' of https://github.com/rajeshtaneja/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Mar 1, 2016
2 parents 25a7324 + 788beb6 commit 6770a4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions backup/util/ui/tests/behat/behat_backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ public function i_import_course_into_course($fromcourse, $tocourse, $options = f
"/descendant::tr[contains(., $fromcourse)]" .
"/descendant::input[@type='radio']";
$radionode = $this->find('xpath', $xpath, $exception);
$radionode->check();
$radionode->click();
$radiofield = new behat_form_field($this->getSession(), $radionode);
$radiofield->set_value(1);

$this->find_button(get_string('continue'))->press();
$this->wait();
Expand Down
1 change: 0 additions & 1 deletion backup/util/ui/tests/behat/import_course.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Feature: Import course's contents into another course
As a teacher
I need to import a course contents into another course selecting what I want to import

@javascript
Scenario: Import course's contents to another course
Given the following "courses" exist:
| fullname | shortname | category |
Expand Down
2 changes: 0 additions & 2 deletions backup/util/ui/tests/behat/import_groups.feature
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Feature: Option to include groups and groupings when importing a course to anoth
And I follow "Course 1"
And I turn editing mode on

@javascript
Scenario: Include groups and groupings when importing a course to another course
When I import "Course 1" course into "Course 2" course using this options:
| Initial | Include groups and groupings | 1 |
Expand All @@ -40,7 +39,6 @@ Feature: Option to include groups and groupings when importing a course to anoth
And I should see "Grouping 1"
And I should see "Grouping 2"

@javascript
Scenario: Do not include groups and groupings when importing a course to another course
When I import "Course 1" course into "Course 2" course using this options:
| Initial | Include groups and groupings | 0 |
Expand Down

0 comments on commit 6770a4b

Please sign in to comment.