mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-64669 core_message: Waiting for buttons to hide before login out
This commit is contained in:
parent
fd72e75443
commit
fce10f0e95
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue