MDL-64669 core_message: Waiting for buttons to hide before login out
This commit is contained in:
@@ -31,6 +31,7 @@ Feature: Manage contacts
|
||||
And I open contact menu
|
||||
And I click on "Add to contacts" "link"
|
||||
And I click on "Add" "button"
|
||||
And I should see "Contact request sent"
|
||||
And I log out
|
||||
And I log in as "student4"
|
||||
Then I should see "2" in the "//*[@data-region='count-container']" "xpath_element"
|
||||
@@ -41,6 +42,7 @@ Feature: Manage contacts
|
||||
And I click on "Student 1 Would like to contact you" "link"
|
||||
Then I should see "Accept and add to contacts"
|
||||
And I click on "Accept and add to contacts" "link_or_button"
|
||||
And I should not see "Accept and add to contacts"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
And I open messaging
|
||||
@@ -54,6 +56,7 @@ Feature: Manage contacts
|
||||
And I open contact menu
|
||||
And I click on "Add to contacts" "link"
|
||||
And I click on "Add" "button"
|
||||
And I should see "Contact request sent"
|
||||
And I log out
|
||||
And I log in as "student3"
|
||||
Then I should see "1" in the "//*[@data-region='count-container']" "xpath_element"
|
||||
@@ -64,6 +67,7 @@ Feature: Manage contacts
|
||||
And I click on "Student 1 Would like to contact you" "link"
|
||||
Then I should see "Accept and add to contacts"
|
||||
And I click on "Decline" "link_or_button"
|
||||
And I should not see "Accept and add to contacts"
|
||||
And I open contact menu
|
||||
Then I should see "Add to contacts" in the "//div[@data-region='header-container']" "xpath_element"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user