Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
0fe86bbd
Commit
0fe86bbd
authored
Apr 14, 2015
by
Rajesh Taneja
Browse files
MDL-49799 behat: replaced asd.com with example.com
asd.com is a valid domain, we should use reserved domain names for testing
parent
d302ba23
Changes
251
Hide whitespace changes
Inline
Side-by-side
admin/tests/behat/filter_users.feature
View file @
0fe86bbd
...
...
@@ -7,10 +7,10 @@ Feature: An administrator can filter user accounts by role, cohort and other pro
Background
:
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
auth
|
confirmed
|
|
user1
|
User
|
One
|
one@
asd
.com
|
manual
|
0
|
|
user2
|
User
|
Two
|
two@
asd
.com
|
ldap
|
1
|
|
user3
|
User
|
Three
|
three@
asd
.com
|
manual
|
1
|
|
user4
|
User
|
Four
|
four@
asd
.com
|
ldap
|
0
|
|
user1
|
User
|
One
|
one@
example
.com
|
manual
|
0
|
|
user2
|
User
|
Two
|
two@
example
.com
|
ldap
|
1
|
|
user3
|
User
|
Three
|
three@
example
.com
|
manual
|
1
|
|
user4
|
User
|
Four
|
four@
example
.com
|
ldap
|
0
|
And the following "cohorts" exist
:
|
name
|
idnumber
|
|
Cohort
1
|
CH1
|
...
...
@@ -23,8 +23,8 @@ Feature: An administrator can filter user accounts by role, cohort and other pro
|
user2
|
C1
|
student
|
|
user3
|
C1
|
student
|
And
I log in as
"admin"
And
I add
"User Two (two@
asd
.com)"
user to
"CH1"
cohort members
And
I add
"User Three (three@
asd
.com)"
user to
"CH1"
cohort members
And
I add
"User Two (two@
example
.com)"
user to
"CH1"
cohort members
And
I add
"User Three (three@
example
.com)"
user to
"CH1"
cohort members
And
I follow
"Browse list of users"
@javascript
...
...
admin/tests/behat/upload_users.feature
View file @
0fe86bbd
...
...
@@ -21,7 +21,7 @@ Feature: Upload users
And
I should see
"Tom"
And
I should see
"Jones"
And
I should see
"verysecret"
And
I should see
"jonest@
someplace.edu
"
And
I should see
"jonest@
example.com
"
And
I should see
"Reznor"
And
I should see
"course1"
And
I should see
"math102"
...
...
@@ -32,7 +32,7 @@ Feature: Upload users
And
I follow
"Browse list of users"
And
I should see
"Tom Jones"
And
I should see
"Trent Reznor"
And
I should see
"reznor@
someplace.edu
"
And
I should see
"reznor@
example.com
"
And
I am on site homepage
And
I follow
"Maths"
And
I expand
"Users"
node
...
...
admin/tool/behat/tests/behat/data_generators.feature
View file @
0fe86bbd
...
...
@@ -71,8 +71,8 @@ Feature: Set up contextual data for tests
Scenario
:
Role overrides
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
student1
|
Student
|
1
|
student1@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
|
student1
|
Student
|
1
|
student1@
example
.com
|
And the following "categories" exist
:
|
name
|
category
|
idnumber
|
|
Cat
1
|
0
|
CAT1
|
...
...
@@ -102,7 +102,7 @@ Feature: Set up contextual data for tests
Scenario
:
Add course enrolments
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
student1
|
Student
|
1
|
student1@
asd
.com
|
|
student1
|
Student
|
1
|
student1@
example
.com
|
And the following "courses" exist
:
|
fullname
|
shortname
|
format
|
|
Course
1
|
C1
|
topics
|
...
...
@@ -120,11 +120,11 @@ Feature: Set up contextual data for tests
|
Custom
student
|
custom2
|
|
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
user1
|
User
|
1
|
user1@
moodlemood
le.com
|
|
user2
|
User
|
2
|
user2@
moodlemood
le.com
|
|
user3
|
User
|
3
|
user3@
moodlemood
le.com
|
|
user4
|
User
|
4
|
user4@
moodlemood
le.com
|
|
user5
|
User
|
5
|
user5@
moodlemood
le.com
|
|
user1
|
User
|
1
|
user1@
examp
le.com
|
|
user2
|
User
|
2
|
user2@
examp
le.com
|
|
user3
|
User
|
3
|
user3@
examp
le.com
|
|
user4
|
User
|
4
|
user4@
examp
le.com
|
|
user5
|
User
|
5
|
user5@
examp
le.com
|
And the following "categories" exist
:
|
name
|
category
|
idnumber
|
|
Cat
1
|
0
|
CAT1
|
...
...
@@ -238,8 +238,8 @@ Feature: Set up contextual data for tests
Scenario
:
Add relations between users and groups
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
student1
|
Student
|
1
|
student1@
asd
.com
|
|
student2
|
Student
|
2
|
student2@
asd
.com
|
|
student1
|
Student
|
1
|
student1@
example
.com
|
|
student2
|
Student
|
2
|
student2@
example
.com
|
And the following "courses" exist
:
|
fullname
|
shortname
|
|
Course
1
|
C1
|
...
...
@@ -279,8 +279,8 @@ Feature: Set up contextual data for tests
|
Cat
1
|
0
|
CAT1
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
student1
|
Student
|
1
|
student1@
asd
.com
|
|
student2
|
Student
|
2
|
student2@
asd
.com
|
|
student1
|
Student
|
1
|
student1@
example
.com
|
|
student2
|
Student
|
2
|
student2@
example
.com
|
And the following "cohorts" exist
:
|
name
|
idnumber
|
|
System
cohort
A
|
CHSA
|
...
...
admin/tool/behat/tests/behat/edit_permissions.feature
View file @
0fe86bbd
...
...
@@ -7,7 +7,7 @@ Feature: Edit capabilities
Background
:
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
And the following "courses" exist
:
|
fullname
|
shortname
|
category
|
|
Course
1
|
C1
|
0
|
...
...
admin/tool/behat/tests/behat/get_and_set_fields.feature
View file @
0fe86bbd
...
...
@@ -10,9 +10,9 @@ Feature: Verify that all form fields values can be get and set
|
Course
1
|
C1
|
0
|
And the following "users" exist
:
|
username
|
email
|
firstname
|
lastname
|
|
student1
|
s1@
asd
.com
|
Student
|
1
|
|
student2
|
s2@
asd
.com
|
Student
|
2
|
|
student3
|
s3@
asd
.com
|
Student
|
3
|
|
student1
|
s1@
example
.com
|
Student
|
1
|
|
student2
|
s2@
example
.com
|
Student
|
2
|
|
student3
|
s3@
example
.com
|
Student
|
3
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
student1
|
C1
|
student
|
...
...
admin/tool/monitor/tests/behat/rule.feature
View file @
0fe86bbd
...
...
@@ -10,7 +10,7 @@ Feature: tool_monitor_rule
|
Course
1
|
C1
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
admin/tool/monitor/tests/behat/subscription.feature
View file @
0fe86bbd
...
...
@@ -11,8 +11,8 @@ Feature: tool_monitor_subscriptions
|
Course
2
|
C2
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
teacher2
|
Teacher
|
2
|
teacher2@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
|
teacher2
|
Teacher
|
2
|
teacher2@
example
.com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
auth/ldap/tests/plugin_test.php
View file @
0fe86bbd
...
...
@@ -296,7 +296,7 @@ class auth_ldap_plugin_testcase extends advanced_testcase {
'lastnamephonetic'
=>
'最後のお名前のテスト一号'
,
'firstnamephonetic'
=>
'お名前のテスト一号'
,
'alternatename'
=>
'Alternate Name User Test 1'
,
'email'
=>
'usersignuptest1@e
mail
.com'
,
'email'
=>
'usersignuptest1@e
xample
.com'
,
'description'
=>
'This is a description for user 1'
,
'city'
=>
'Perth'
,
'country'
=>
'au'
,
...
...
auth/tests/behat/login.feature
View file @
0fe86bbd
...
...
@@ -16,7 +16,7 @@ Feature: Authentication
Scenario
:
Log in as an existing admin user filling the form
Given the following "users" exist
:
|
username
|
password
|
firstname
|
lastname
|
email
|
|
testuser
|
testuser
|
Test
|
User
|
moodle@
moodlemood
le.com
|
|
testuser
|
testuser
|
Test
|
User
|
moodle@
examp
le.com
|
And
I am on site homepage
When
I follow
"Log in"
And
I set the field
"Username"
to
"testuser"
...
...
@@ -27,7 +27,7 @@ Feature: Authentication
Scenario
:
Log in as an unexisting user filling the form
Given the following "users" exist
:
|
username
|
password
|
firstname
|
lastname
|
email
|
|
testuser
|
testuser
|
Test
|
User
|
moodle@
moodlemood
le.com
|
|
testuser
|
testuser
|
Test
|
User
|
moodle@
examp
le.com
|
And
I am on site homepage
When
I follow
"Log in"
And
I set the field
"Username"
to
"testuser"
...
...
availability/condition/grade/tests/behat/availability_grade.feature
View file @
0fe86bbd
...
...
@@ -10,8 +10,8 @@ Feature: availability_grade
|
Course
1
|
C1
|
topics
|
1
|
And the following "users" exist
:
|
username
|
email
|
|
teacher1
|
t@example.
org
|
|
student1
|
s@example.
org
|
|
teacher1
|
t@example.
com
|
|
student1
|
s@example.
com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
@@ -104,8 +104,8 @@ Feature: availability_grade
# Give the assignment 40%.
And
I follow
"A1"
And
I follow
"View/grade all submissions"
# Pick the grade link in the row that has s@example.
org
in it.
And I click on "//a[contains(@href, 'action=grade') and ancestor
::
tr/td[normalize-space(.)
=
's
@example.
org
']]/img"
"xpath_element"
# Pick the grade link in the row that has s@example.
com
in it.
And I click on "//a[contains(@href, 'action=grade') and ancestor
::
tr/td[normalize-space(.)
=
's
@example.
com
']]/img"
"xpath_element"
And
I set the field
"Grade out of 100"
to
"40"
And
I click on
"Save changes"
"button"
...
...
availability/condition/profile/tests/behat/availability_profile.feature
View file @
0fe86bbd
...
...
@@ -10,8 +10,8 @@ Feature: availability_profile
|
Course
1
|
C1
|
topics
|
1
|
And the following "users" exist
:
|
username
|
email
|
|
teacher1
|
t@example.
org
|
|
student1
|
s@example.
org
|
|
teacher1
|
t@example.
com
|
|
student1
|
s@example.
com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
@@ -37,7 +37,7 @@ Feature: availability_profile
And
I click on
"Add restriction..."
"button"
And
I click on
"User profile"
"button"
And
I set the field
"User profile field"
to
"Email address"
And
I set the field
"Value to compare against"
to
"s@example.
org
"
And
I set the field
"Value to compare against"
to
"s@example.
com
"
And
I click on
".availability-item .availability-eye img"
"css_element"
And
I click on
"Save and return to course"
"button"
...
...
@@ -51,7 +51,7 @@ Feature: availability_profile
And
I click on
"Add restriction..."
"button"
And
I click on
"User profile"
"button"
And
I set the field
"User profile field"
to
"Email address"
And
I set the field
"Value to compare against"
to
"q@example.
org
"
And
I set the field
"Value to compare against"
to
"q@example.
com
"
And
I click on
".availability-item .availability-eye img"
"css_element"
And
I click on
"Save and return to course"
"button"
...
...
@@ -78,7 +78,7 @@ Feature: availability_profile
# Set field value for user.
And
I navigate to
"Browse list of users"
node in
"Site administration > Users > Accounts"
And
I click on
"a[title=Edit]"
"css_element"
in the
"s@example.
org
"
"table_row"
And
I click on
"a[title=Edit]"
"css_element"
in the
"s@example.
com
"
"table_row"
And
I expand all fieldsets
And
I set the field
"Super field"
to
"Bananaman"
And
I click on
"Update profile"
"button"
...
...
availability/tests/behat/display_availability.feature
View file @
0fe86bbd
...
...
@@ -75,7 +75,7 @@ Feature: display_availability
And
I press
"Add restriction..."
And
I click on
"User profile"
"button"
in the
"Add restriction..."
"dialogue"
And
I set the field
"User profile field"
to
"Email address"
And
I set the field
"Value to compare against"
to
"email@example.
org
"
And
I set the field
"Value to compare against"
to
"email@example.
com
"
And
I set the field
"Method of comparison"
to
"is equal to"
And
I press
"Save and return to course"
...
...
backup/converter/moodle1/tests/fixtures/moodle.xml
View file @
0fe86bbd
...
...
@@ -299,7 +299,7 @@
<IDNUMBER>
891220979
</IDNUMBER>
<FIRSTNAME>
Admin
</FIRSTNAME>
<LASTNAME>
User
</LASTNAME>
<EMAIL>
adamzap@
gmail
.com
</EMAIL>
<EMAIL>
adamzap@
example
.com
</EMAIL>
<EMAILSTOP>
0
</EMAILSTOP>
<ICQ></ICQ>
<SKYPE></SKYPE>
...
...
@@ -368,7 +368,7 @@
<IDNUMBER>
891111111
</IDNUMBER>
<FIRSTNAME>
Adam
</FIRSTNAME>
<LASTNAME>
Zapletal
</LASTNAME>
<EMAIL>
azaple1@
lsu.edu
</EMAIL>
<EMAIL>
azaple1@
example.com
</EMAIL>
<EMAILSTOP>
0
</EMAILSTOP>
<ICQ></ICQ>
<SKYPE></SKYPE>
...
...
@@ -481,7 +481,7 @@
<IDNUMBER></IDNUMBER>
<FIRSTNAME>
Philip
</FIRSTNAME>
<LASTNAME>
Cali
</LASTNAME>
<EMAIL>
pcali1@
lsu.edu
</EMAIL>
<EMAIL>
pcali1@
example.com
</EMAIL>
<EMAILSTOP>
0
</EMAILSTOP>
<ICQ></ICQ>
<SKYPE></SKYPE>
...
...
backup/util/ui/tests/behat/duplicate_activities.feature
View file @
0fe86bbd
...
...
@@ -11,7 +11,7 @@ Feature: Duplicate activities
|
Course
1
|
C1
|
0
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
backup/util/ui/tests/behat/import_course.feature
View file @
0fe86bbd
...
...
@@ -12,7 +12,7 @@ Feature: Import course's contents into another course
|
Course
2
|
C2
|
0
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
backup/util/ui/tests/behat/import_groups.feature
View file @
0fe86bbd
...
...
@@ -11,7 +11,7 @@ Feature: Option to include groups and groupings when importing a course to anoth
|
Course
2
|
C2
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
badges/tests/behat/add_badge.feature
View file @
0fe86bbd
...
...
@@ -12,10 +12,10 @@ Feature: Add badges to the system
Scenario
:
Setting badges settings
Given
I navigate to
"Badges settings"
node in
"Site administration > Badges"
And
I set the field
"Default badge issuer name"
to
"Test Badge Site"
And
I set the field
"Default badge issuer contact details"
to
"testuser@
test-badge-sit
e.com"
And
I set the field
"Default badge issuer contact details"
to
"testuser@
exampl
e.com"
And
I press
"Save changes"
When
I follow
"Add a new badge"
Then
the field
"issuercontact"
matches value
"testuser@
test-badge-sit
e.com"
Then
the field
"issuercontact"
matches value
"testuser@
exampl
e.com"
And
the field
"issuername"
matches value
"Test Badge Site"
@javascript
...
...
@@ -30,7 +30,7 @@ Feature: Add badges to the system
|
Name
|
Test
Badge
|
|
Description
|
Test
badge
description
|
|
issuername
|
Test
Badge
Site
|
|
issuercontact
|
testuser@
test-badge-sit
e.com
|
|
issuercontact
|
testuser@
exampl
e.com
|
And
I upload
"badges/tests/behat/badge.png"
file to
"Image"
filemanager
When
I press
"Create badge"
Then
I should see
"Edit details"
...
...
badges/tests/behat/award_badge.feature
View file @
0fe86bbd
...
...
@@ -12,7 +12,7 @@ Feature: Award badges
|
Name
|
Profile
Badge
|
|
Description
|
Test
badge
description
|
|
issuername
|
Test
Badge
Site
|
|
issuercontact
|
testuser@
test-badge-sit
e.com
|
|
issuercontact
|
testuser@
exampl
e.com
|
And
I upload
"badges/tests/behat/badge.png"
file to
"Image"
filemanager
And
I press
"Create badge"
And
I set the field
"type"
to
"Profile completion"
...
...
@@ -44,8 +44,8 @@ Feature: Award badges
Scenario
:
Award site badge
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher
|
teacher
|
1
|
teacher1@
asd
.com
|
|
student
|
student
|
1
|
student1@
asd
.com
|
|
teacher
|
teacher
|
1
|
teacher1@
example
.com
|
|
student
|
student
|
1
|
student1@
example
.com
|
And
I log in as
"admin"
And
I navigate to
"Add a new badge"
node in
"Site administration > Badges"
And I set the following fields to these values
:
...
...
@@ -61,9 +61,9 @@ Feature: Award badges
And
I press
"Continue"
And
I follow
"Recipients (0)"
And
I press
"Award badge"
And
I set the field
"potentialrecipients[]"
to
"teacher 1 (teacher1@
asd
.com)"
And
I set the field
"potentialrecipients[]"
to
"teacher 1 (teacher1@
example
.com)"
And
I press
"Award badge"
And
I set the field
"potentialrecipients[]"
to
"student 1 (student1@
asd
.com)"
And
I set the field
"potentialrecipients[]"
to
"student 1 (student1@
example
.com)"
And
I press
"Award badge"
When
I follow
"Site Badge"
Then
I should see
"Recipients (2)"
...
...
@@ -76,9 +76,9 @@ Feature: Award badges
Scenario
:
Award course badge
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
|
student1
|
Student
|
1
|
student1@
asd
.com
|
|
student2
|
Student
|
2
|
student2@
asd
.com
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
|
student1
|
Student
|
1
|
student1@
example
.com
|
|
student2
|
Student
|
2
|
student2@
example
.com
|
And the following "courses" exist
:
|
fullname
|
shortname
|
category
|
groupmode
|
|
Course
1
|
C1
|
0
|
1
|
...
...
@@ -104,9 +104,9 @@ Feature: Award badges
And
I press
"Continue"
And
I follow
"Recipients (0)"
And
I press
"Award badge"
And
I set the field
"potentialrecipients[]"
to
"Student 2 (student2@
asd
.com)"
And
I set the field
"potentialrecipients[]"
to
"Student 2 (student2@
example
.com)"
And
I press
"Award badge"
And
I set the field
"potentialrecipients[]"
to
"Student 1 (student1@
asd
.com)"
And
I set the field
"potentialrecipients[]"
to
"Student 1 (student1@
example
.com)"
When
I press
"Award badge"
And
I follow
"Course Badge"
Then
I should see
"Recipients (2)"
...
...
@@ -123,8 +123,8 @@ Feature: Award badges
|
Course
1
|
C1
|
0
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
Frist
|
teacher1@
asd
.com
|
|
student1
|
Student
|
First
|
student1@
asd
.com
|
|
teacher1
|
Teacher
|
Frist
|
teacher1@
example
.com
|
|
student1
|
Student
|
First
|
student1@
example
.com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
@@ -174,8 +174,8 @@ Feature: Award badges
|
Course
1
|
C1
|
0
|
And the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
|
teacher1
|
Teacher
|
Frist
|
teacher1@
asd
.com
|
|
student1
|
Student
|
First
|
student1@
asd
.com
|
|
teacher1
|
Teacher
|
Frist
|
teacher1@
example
.com
|
|
student1
|
Student
|
First
|
student1@
example
.com
|
And the following "course enrolments" exist
:
|
user
|
course
|
role
|
|
teacher1
|
C1
|
editingteacher
|
...
...
blocks/activity_results/tests/behat/addblockinactivity.feature
View file @
0fe86bbd
...
...
@@ -7,12 +7,12 @@ Feature: The activity results block displays student scores
Background
:
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
idnumber
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
T1
|
|
student1
|
Student
|
1
|
student1@
asd
.com
|
S1
|
|
student2
|
Student
|
2
|
student2@
asd
.com
|
S2
|
|
student3
|
Student
|
3
|
student3@
asd
.com
|
S3
|
|
student4
|
Student
|
4
|
student4@
asd
.com
|
S4
|
|
student5
|
Student
|
5
|
student5@
asd
.com
|
S5
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
T1
|
|
student1
|
Student
|
1
|
student1@
example
.com
|
S1
|
|
student2
|
Student
|
2
|
student2@
example
.com
|
S2
|
|
student3
|
Student
|
3
|
student3@
example
.com
|
S3
|
|
student4
|
Student
|
4
|
student4@
example
.com
|
S4
|
|
student5
|
Student
|
5
|
student5@
example
.com
|
S5
|
And the following "courses" exist
:
|
fullname
|
shortname
|
category
|
|
Course
1
|
C1
|
0
|
...
...
blocks/activity_results/tests/behat/addunconfiguredblock.feature
View file @
0fe86bbd
...
...
@@ -7,7 +7,7 @@ Feature: The activity results block displays student scores
Background
:
Given the following "users" exist
:
|
username
|
firstname
|
lastname
|
email
|
idnumber
|
|
teacher1
|
Teacher
|
1
|
teacher1@
asd
.com
|
T1
|
|
teacher1
|
Teacher
|
1
|
teacher1@
example
.com
|
T1
|
And the following "courses" exist
:
|
fullname
|
shortname
|
category
|
|
Course
1
|
C1
|
0
|
...
...
Prev
1
2
3
4
5
…
13
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment