| Línea 26... |
Línea 26... |
| 26 |
And the "Provider" select box should contain "Custom link"
|
26 |
And the "Provider" select box should contain "Custom link"
|
| 27 |
And I should not see "Custom link URL"
|
27 |
And I should not see "Custom link URL"
|
| 28 |
And I select "Custom link" from the "Provider" singleselect
|
28 |
And I select "Custom link" from the "Provider" singleselect
|
| 29 |
And I should see "Custom link URL"
|
29 |
And I should see "Custom link URL"
|
| 30 |
And I set the following fields to these values:
|
30 |
And I set the following fields to these values:
|
| 31 |
| communicationroomname | Test URL |
|
31 |
| communication_customlinkroomname | Test URL |
|
| 32 |
| customlinkurl | #wwwroot#/communication/provider/customlink/tests/behat/fixtures/custom_link_test_page.php |
|
32 |
| customlinkurl | #wwwroot#/communication/provider/customlink/tests/behat/fixtures/custom_link_test_page.php |
|
| 33 |
And I press "Save changes"
|
33 |
And I press "Save changes"
|
| 34 |
Then "Chat to course participants" "button" should be visible
|
34 |
Then "Chat to course participants" "button" should be visible
|
| 35 |
And I click on "Chat to course participants" "button"
|
35 |
And I click on "Chat to course participants" "button"
|
| 36 |
# Check the link hits the expected destination.
|
36 |
# Check the link hits the expected destination.
|
| 37 |
And I switch to a second window
|
37 |
And I switch to a second window
|
| Línea 57... |
Línea 57... |
| 57 |
Given I am on the "Course 1" "Course" page logged in as "teacher1"
|
57 |
Given I am on the "Course 1" "Course" page logged in as "teacher1"
|
| 58 |
And "Chat to course participants" "button" should not be visible
|
58 |
And "Chat to course participants" "button" should not be visible
|
| 59 |
When I navigate to "Communication" in current page administration
|
59 |
When I navigate to "Communication" in current page administration
|
| 60 |
And I select "Custom link" from the "Provider" singleselect
|
60 |
And I select "Custom link" from the "Provider" singleselect
|
| 61 |
And I set the following fields to these values:
|
61 |
And I set the following fields to these values:
|
| 62 |
| communicationroomname | Test URL |
|
62 |
| communication_customlinkroomname | Test URL |
|
| 63 |
| customlinkurl | #wwwroot#/communication/provider/customlink/tests/behat/fixtures/custom_link_test_page.php |
|
63 |
| customlinkurl | #wwwroot#/communication/provider/customlink/tests/behat/fixtures/custom_link_test_page.php |
|
| 64 |
And I press "Save changes"
|
64 |
And I press "Save changes"
|
| 65 |
And "Chat to course participants" "button" should be visible
|
65 |
And "Chat to course participants" "button" should be visible
|
| 66 |
And I run all adhoc tasks
|
66 |
And I run all adhoc tasks
|
| 67 |
And I navigate to "Communication" in current page administration
|
67 |
And I navigate to "Communication" in current page administration
|
| 68 |
And I select "None" from the "Provider" singleselect
|
68 |
And I select "None" from the "Provider" singleselect
|
| Línea 72... |
Línea 72... |
| 72 |
And I am on the "Course 1" course page
|
72 |
And I am on the "Course 1" course page
|
| 73 |
And "Chat to course participants" "button" should not be visible
|
73 |
And "Chat to course participants" "button" should not be visible
|
| 74 |
And I navigate to "Communication" in current page administration
|
74 |
And I navigate to "Communication" in current page administration
|
| 75 |
And I select "Custom link" from the "Provider" singleselect
|
75 |
And I select "Custom link" from the "Provider" singleselect
|
| 76 |
And I set the following fields to these values:
|
76 |
And I set the following fields to these values:
|
| 77 |
| communicationroomname | Test URL |
|
77 |
| communication_customlinkroomname | Test URL |
|
| 78 |
| customlinkurl | #wwwroot#/communication/provider/customlink/tests/behat/fixtures/custom_link_test_page.php |
|
78 |
| customlinkurl | #wwwroot#/communication/provider/customlink/tests/behat/fixtures/custom_link_test_page.php |
|
| 79 |
And I press "Save changes"
|
79 |
And I press "Save changes"
|
| 80 |
And "Chat to course participants" "button" should be visible
|
80 |
And "Chat to course participants" "button" should be visible
|
| 81 |
And I run all adhoc tasks
|
81 |
And I run all adhoc tasks
|
| 82 |
And I am on the "Course 1" course page
|
82 |
And I am on the "Course 1" course page
|
| 83 |
And "Chat to course participants" "button" should be visible
|
83 |
And "Chat to course participants" "button" should be visible
|