MDL-56630 behat: Click on link in specificed block/region

This commit is contained in:
Rajesh Taneja 2016-11-09 13:56:49 +08:00
parent 6e986b2919
commit d514d25e0a
No known key found for this signature in database
GPG Key ID: B363F7FB787F80E4
4 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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)"