MDL-51100 behat: Remove javascript tag where not required

These tests only needed the javascript tag because of the user menu.
Now that issue has been resolved, they do not need it.

Note: Some were also not using the singleselect feature, so would fail
without changes to use this too as they were not handling proper selection
of the singleselect element.
This commit is contained in:
Andrew Nicols 2015-08-13 13:12:24 +08:00
parent 317fd6fe56
commit ff89d94a6f
13 changed files with 23 additions and 58 deletions

View file

@ -1,4 +1,4 @@
@core @core_message @javascript
@core @core_message
Feature: Message history displays correctly
In order to read messages between two users
As a user

View file

@ -1,4 +1,4 @@
@core @core_message @javascrript
@core @core_message
Feature: Manage contacts
In order to easily access the users I interact more with
As a user

View file

@ -1,4 +1,4 @@
@core @core_message @javascript
@core @core_message
Feature: Recent conversations contains my recent conversations
In order to view my recent conversations
As a user
@ -14,7 +14,7 @@ Feature: Recent conversations contains my recent conversations
Scenario: View that I don't have recent conversations
Given I log in as "user1"
And I follow "Messages" in the user menu
When I set the field "Message navigation:" to "Recent conversations"
When I select "Recent conversations" from the "Message navigation:" singleselect
Then I should not see "User Two"
And I should not see "User Three"
@ -23,7 +23,7 @@ Feature: Recent conversations contains my recent conversations
And I send "Message from user1 to user2" message to "User Two" user
And I send "Message from user1 to user3" message to "User Three" user
And I follow "Messages" in the user menu
When I set the field "Message navigation:" to "Recent conversations"
When I select "Recent conversations" from the "Message navigation:" singleselect
Then I should see "User Two"
And I should see "User Three"
And I should see "Message from user1 to user2"
@ -31,6 +31,6 @@ Feature: Recent conversations contains my recent conversations
And I log out
And I log in as "user2"
And I follow "Messages" in the user menu
And I set the field "Message navigation:" to "Recent conversations"
And I select "Recent conversations" from the "Message navigation:" singleselect
And I should see "Message from user1 to user2"
And I should not see "Message from user1 to user3"