Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mahara
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
mahara
mahara
Commits
ea95604c
Commit
ea95604c
authored
Jun 13, 2019
by
Robert Lyon
Committed by
Gerrit Code Review
Jun 13, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Behat Bug 1829322 public and private feedback annotations on SmartEvidence collections"
parents
7dd8c743
877d16b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
test/behat/features/site_features/smart_evidence_workflow.feature
...at/features/site_features/smart_evidence_workflow.feature
+11
-4
No files found.
test/behat/features/site_features/smart_evidence_workflow.feature
View file @
ea95604c
...
@@ -97,17 +97,23 @@ Scenario: 1) Mahara member creates a collection of 3 pages and submits for marki
...
@@ -97,17 +97,23 @@ Scenario: 1) Mahara member creates a collection of 3 pages and submits for marki
And
I click on the matrix point
"2,21"
And
I click on the matrix point
"2,21"
And
I fill in
"Staff annotation description"
in first editor
And
I fill in
"Staff annotation description"
in first editor
And
I click on
"Place feedback"
And
I click on
"Place feedback"
And
I fill in
"Another annotation description"
in first editor
And
I disable the switch
"Make public"
And
I click on
"Place feedback"
And
I should see
"This feedback is private."
And
I select
"Partially meets the standard"
from
"Assessment"
And
I select
"Partially meets the standard"
from
"Assessment"
And
I click on
"Save"
And
I click on
"Save"
And
I click on the matrix point
"3,21"
And
I click on the matrix point
"3,21"
And
I fill in
"Staff annotation description"
in first editor
And
I fill in
"Staff annotation description"
in first editor
And
I click on
"Place feedback"
And
I click on
"Place feedback"
And
I select
"
Partially m
eets the standard"
from
"Assessment"
And
I select
"
M
eets the standard"
from
"Assessment"
And
I click on
"Save"
And
I click on
"Save"
And
I click on the matrix point
"4,21"
And
I click on the matrix point
"4,21"
And
I fill in
"Staff annotation description"
in first editor
And
I fill in
"Staff annotation description"
in first editor
And
I click on
"Place feedback"
And
I click on
"Place feedback"
And
I select
"Partially meets the standard"
from
"Assessment"
And
I fill in
"Another Staff annotation description"
in first editor
And
I disable the switch
"Make public"
And
I select
"Doesn't meet the standard"
from
"Assessment"
And
I click on
"Save"
And
I click on
"Save"
And
I log out
And
I log out
...
@@ -123,12 +129,13 @@ Scenario: 1) Mahara member creates a collection of 3 pages and submits for marki
...
@@ -123,12 +129,13 @@ Scenario: 1) Mahara member creates a collection of 3 pages and submits for marki
And
I press
"Place feedback"
And
I press
"Place feedback"
# Mahara member follows "Feedback (3)"
# Mahara member follows "Feedback (3)"
And
I wait
"1"
seconds
And
I wait
"1"
seconds
When
I follow
"Feedback (
3
)"
When
I follow
"Feedback (
4
)"
# Mahara member should see 3 feedback annotations
# Mahara member should see 3 feedback annotations
Then
I should see
"Staff annotation description"
Then
I should see
"Staff annotation description"
And I should see "Assessment
:
Partially
meets
the
standard
"
And I should see "Assessment
:
Partially
meets
the
standard
"
And
I should see
"Mahara member placing feedback"
And
I should see
"Mahara member placing feedback"
And
I should see
"Make public"
# Mahara member should see edit and delete for their own annotation feedback comment
# Mahara member should see edit and delete for their own annotation feedback comment
And
I should see
"Edit"
in the
"//*[starts-with(@id,'annotation_feedbacktable')]/div/div/div[2]/li[
3
]/div[1]/div"
"xpath_element"
And
I should see
"Edit"
in the
"//*[starts-with(@id,'annotation_feedbacktable')]/div/div/div[2]/li[
4
]/div[1]/div"
"xpath_element"
# verify that user cannot delete Other user's annotations.
# verify that user cannot delete Other user's annotations.
And
I should not see
"Edit"
in the
"//*[starts-with(@id,'annotation_feedbacktable')]/div/div/div[2]/li[2]/div[1]/div"
"xpath_element"
And
I should not see
"Edit"
in the
"//*[starts-with(@id,'annotation_feedbacktable')]/div/div/div[2]/li[2]/div[1]/div"
"xpath_element"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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