mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-67935 tool_lp: fix random errors with login/logout
This commit is contained in:
parent
b56affcfe6
commit
df9c7f755d
1 changed files with 4 additions and 3 deletions
|
@ -64,6 +64,7 @@ Feature: Award badges based on competency completion
|
||||||
And I set the following fields to these values:
|
And I set the following fields to these values:
|
||||||
| Rating | C |
|
| Rating | C |
|
||||||
And I click on "Rate" "button" in the "Rate" "dialogue"
|
And I click on "Rate" "button" in the "Rate" "dialogue"
|
||||||
|
And I should see "The competency rating was manually set in the course"
|
||||||
And I log out
|
And I log out
|
||||||
# See if we got the badge
|
# See if we got the badge
|
||||||
Then I log in as "user1"
|
Then I log in as "user1"
|
||||||
|
@ -114,8 +115,8 @@ Feature: Award badges based on competency completion
|
||||||
And I press "Rate"
|
And I press "Rate"
|
||||||
And I set the following fields to these values:
|
And I set the following fields to these values:
|
||||||
| Rating | C |
|
| Rating | C |
|
||||||
And I wait until the page is ready
|
|
||||||
And I click on "Rate" "button" in the "Rate" "dialogue"
|
And I click on "Rate" "button" in the "Rate" "dialogue"
|
||||||
|
And I should see "The competency rating was manually set in the course"
|
||||||
And I log out
|
And I log out
|
||||||
# See if we got the badge
|
# See if we got the badge
|
||||||
Then I log in as "user1"
|
Then I log in as "user1"
|
||||||
|
@ -168,8 +169,8 @@ Feature: Award badges based on competency completion
|
||||||
And I press "Rate"
|
And I press "Rate"
|
||||||
And I set the following fields to these values:
|
And I set the following fields to these values:
|
||||||
| Rating | C |
|
| Rating | C |
|
||||||
And I wait until the page is ready
|
|
||||||
And I click on "Rate" "button" in the "Rate" "dialogue"
|
And I click on "Rate" "button" in the "Rate" "dialogue"
|
||||||
|
And I should see "The competency rating was manually set in the course"
|
||||||
And I log out
|
And I log out
|
||||||
# We should not get the badge yet.
|
# We should not get the badge yet.
|
||||||
Then I log in as "user1"
|
Then I log in as "user1"
|
||||||
|
@ -184,8 +185,8 @@ Feature: Award badges based on competency completion
|
||||||
And I press "Rate"
|
And I press "Rate"
|
||||||
And I set the following fields to these values:
|
And I set the following fields to these values:
|
||||||
| Rating | C |
|
| Rating | C |
|
||||||
And I wait until the page is ready
|
|
||||||
And I click on "Rate" "button" in the "Rate" "dialogue"
|
And I click on "Rate" "button" in the "Rate" "dialogue"
|
||||||
|
And I should see "The competency rating was manually set in the course"
|
||||||
And I log out
|
And I log out
|
||||||
# See if we got the badge now.
|
# See if we got the badge now.
|
||||||
Then I log in as "user1"
|
Then I log in as "user1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue