mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-56630 behat: Click on link in specificed block/region
This commit is contained in:
parent
6e986b2919
commit
d514d25e0a
@ -51,7 +51,7 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment name"
|
||||
And I follow "View all submissions"
|
||||
And I click on "View all submissions" "link" in the "Administration" "block"
|
||||
And I click on "Edit" "link" in the "Submitted for grading" "table_row"
|
||||
And I click on "Grade" "link" in the "Submitted for grading" "table_row"
|
||||
And I should see "Page 1 of 3"
|
||||
@ -127,7 +127,7 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment name"
|
||||
And I follow "View all submissions"
|
||||
And I click on "View all submissions" "link" in the "Administration" "block"
|
||||
And I click on "Edit" "link" in the "Student 2" "table_row"
|
||||
And I click on "Grade" "link" in the "Student 2" "table_row"
|
||||
And I wait until the page is ready
|
||||
@ -138,5 +138,5 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
And I press "Ok"
|
||||
And I click on "Edit settings" "link"
|
||||
And I follow "Test assignment name"
|
||||
And I follow "View all submissions"
|
||||
And I click on "View all submissions" "link" in the "Administration" "block"
|
||||
And I should see "View annotated PDF..." in the "student2@example.com" "table_row"
|
||||
|
@ -49,7 +49,7 @@ Feature: In a group assignment, teacher can annotate PDF files for all users
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment name"
|
||||
And I follow "View all submissions"
|
||||
And I click on "View all submissions" "link" in the "Administration" "block"
|
||||
And I click on "Grade" "link" in the "Submitted for grading" "table_row"
|
||||
And I wait until the page is ready
|
||||
And I click on ".navigate-next-button" "css_element"
|
||||
|
@ -43,7 +43,7 @@ Feature: In an assignment, teacher can view the feedback for a previous attempt.
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Test assignment name"
|
||||
And I follow "View all submissions"
|
||||
And I click on "View all submissions" "link" in the "Administration" "block"
|
||||
And I click on "Edit" "link" in the "Submitted for grading" "table_row"
|
||||
And I click on "Grade" "link" in the "Submitted for grading" "table_row"
|
||||
And I should see "Page 1 of 3"
|
||||
|
@ -142,7 +142,7 @@ Feature: In an assignment, students start a new attempt based on their previous
|
||||
# And I log in as "teacher1"
|
||||
# And I follow "Course 1"
|
||||
# And I follow "Test assignment name"
|
||||
# And I follow "View all submissions"
|
||||
# And I click on "View all submissions" "link" in the "Administration" "block"
|
||||
# And "Student 1" row "Status" column of "generaltable" table should contain "Reopened"
|
||||
# And "Student 2" row "Status" column of "generaltable" table should contain "Reopened"
|
||||
# And "Student 3" row "Status" column of "generaltable" table should contain "Submitted for grading"
|
||||
@ -164,6 +164,6 @@ Feature: In an assignment, students start a new attempt based on their previous
|
||||
# And I log in as "teacher1"
|
||||
# And I follow "Course 1"
|
||||
# And I follow "Test assignment name"
|
||||
# And I follow "View all submissions"
|
||||
# I click on "View all submissions" "link" in the "Administration" "block"
|
||||
# And I click on "Grade" "link" in the "Student 1" "table_row"
|
||||
#And I should see "This is attempt 2 (3 attempts allowed)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user