Skip to content

Commit

Permalink
Assign tests on the way
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardoengelke authored and robertosilvino committed May 18, 2017
1 parent 7e18c9a commit 6be3e8f
Showing 1 changed file with 77 additions and 77 deletions.
154 changes: 77 additions & 77 deletions tests/behat/unasus.feature
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Background:
# -----------------------------ASSIGN SETUP-----------------------------------------------
# Unix timestamp 946684800 = 1 jan 2000 at 00h00m00s
And the following "activities" exist:
| activity | course | idnumber | name | intro | grade | assignsubmission_onlinetext_enabled | completionexpected | added |
| assign | C1 | a1 | Test assignment one | Submit something! | 100 | 1 | 978307200 | 946684800 |
| assign | C1 | a2 | Test assignment two | Submit something! | 100 | 1 | 946684800 | 946684800 |
| assign | C1 | a3 | Test assignment three | Submit something! | 100 | 1 | 0 | 946684800 |
| assign | C1 | a4 | Test assignment four | Submit something! | 100 | 1 | 946684800 | 946684800 |
| assign | C1 | a5 | Test assignment five | Submit something! | 100 | 1 | 946684800 | 946684800 |
| assign | C1 | a6 | Test assignment six | Submit something! | 100 | 1 | 946684800 | 946684800 |
| assign | C1 | a7 | Test assignment seven | Submit something! | 100 | 1 | 946684800 | 946684800 |
| activity | course | idnumber | name | intro | grade | assignsubmission_onlinetext_enabled | completionexpected |
| assign | C1 | a1 | Test assignment one | Submit something! | 100 | 1 | 2147483647 |
| assign | C1 | a2 | Test assignment two | Submit something! | 100 | 1 | 978307200 |
| assign | C1 | a3 | Test assignment three | Submit something! | 100 | 1 | 0 |
| assign | C1 | a4 | Test assignment four | Submit something! | 100 | 1 | 946684800 |
| assign | C1 | a5 | Test assignment five | Submit something! | 100 | 1 | 946684800 |
| assign | C1 | a6 | Test assignment six | Submit something! | 100 | 1 | 946684800 |
| assign | C1 | a7 | Test assignment seven | Submit something! | 100 | 1 | 946684800 |


# And the following activity "assigns" exist:
Expand Down Expand Up @@ -242,76 +242,76 @@ Background:
# And I press "Submit assignment"
# And I press "Continue"
# And I log out
#
# And I log in as "student2"
# And I follow "Course1"
# And I follow "Test assignment two"
# And I press "Add submission"
# And I set the following fields to these values:
# | Online text | I'm the student2 submission |
# And I press "Save changes"
# And I press "Submit assignment"
# And I press "Continue"
# And I log out
#
# And I log in as "student3"
# And I follow "Course1"
# And I follow "Test assignment three"
# And I press "Add submission"
# And I set the following fields to these values:
# | Online text | I'm the student3 submission |
# And I press "Save changes"
# And I press "Submit assignment"
# And I press "Continue"
# And I log out

# And I log in as "student1"
# And I follow "Course1"
# And I follow "Test assignment four"
# And I press "Add submission"
# And I set the following fields to these values:
# | Online text | I'm the student1 submission |
# And I press "Save changes"
# And I press "Submit assignment"
# And I press "Continue"
# And I set the submission date of activity "a4" to "0" days after
# And I log out
#
# And I log in as "student1"
# And I follow "Course1"
# And I follow "Test assignment five"
# And I press "Add submission"
# And I set the following fields to these values:
# | Online text | I'm the student3 submission |
# And I press "Save changes"
# And I press "Submit assignment"
# And I press "Continue"
# And I set the submission date of activity "a5" to "10" days after
# And I log out
#
# And I log in as "student1"
# And I follow "Course1"
# And I follow "Test assignment six"
# And I press "Add submission"
# And I set the following fields to these values:
# | Online text | I'm the student3 submission |
# And I press "Save changes"
# And I press "Submit assignment"
# And I press "Continue"
# And I set the submission date of activity "a6" to "11" days after
# And I log out

# And I log in as "student1"
# And I follow "Course1"
# And I follow "Test assignment seven"
# And I press "Add submission"
# And I set the following fields to these values:
# | Online text | I'm the student3 submission |
# And I press "Save changes"
# And I press "Submit assignment"
# And I press "Continue"
# And I set the submission date of activity "a7" to "11" days after
# And I log out
And I log in as "student2"
And I follow "Course1"
And I follow "Test assignment two"
And I press "Add submission"
And I set the following fields to these values:
| Online text | I'm the student2 submission |
And I press "Save changes"
And I press "Submit assignment"
And I press "Continue"
And I log out

And I log in as "student3"
And I follow "Course1"
And I follow "Test assignment three"
And I press "Add submission"
And I set the following fields to these values:
| Online text | I'm the student3 submission |
And I press "Save changes"
And I press "Submit assignment"
And I press "Continue"
And I log out

And I log in as "student1"
And I follow "Course1"
And I follow "Test assignment four"
And I press "Add submission"
And I set the following fields to these values:
| Online text | I'm the student1 submission |
And I press "Save changes"
And I press "Submit assignment"
And I press "Continue"
And I set the submission date of activity "a4" to "0" days after
And I log out

And I log in as "student1"
And I follow "Course1"
And I follow "Test assignment five"
And I press "Add submission"
And I set the following fields to these values:
| Online text | I'm the student3 submission |
And I press "Save changes"
And I press "Submit assignment"
And I press "Continue"
And I set the submission date of activity "a5" to "10" days after
And I log out

And I log in as "student1"
And I follow "Course1"
And I follow "Test assignment six"
And I press "Add submission"
And I set the following fields to these values:
| Online text | I'm the student3 submission |
And I press "Save changes"
And I press "Submit assignment"
And I press "Continue"
And I set the submission date of activity "a6" to "11" days after
And I log out

And I log in as "student1"
And I follow "Course1"
And I follow "Test assignment seven"
And I press "Add submission"
And I set the following fields to these values:
| Online text | I'm the student3 submission |
And I press "Save changes"
And I press "Submit assignment"
And I press "Continue"
And I set the submission date of activity "a7" to "11" days after
And I log out

# Atribuição de nota em assignment (Avaliação da atividade por parte do professor)
# And I follow "Courses"
Expand Down

0 comments on commit 6be3e8f

Please sign in to comment.