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
mahara
mahara
Commits
6f81244f
Commit
6f81244f
authored
Sep 17, 2015
by
Aaron Wells
Committed by
Gerrit Code Review
Sep 17, 2015
Browse files
Merge "Bug 1486763: Behat test for adding/deleting comments"
parents
ec338d52
131b9ef8
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/artefact/comment/add_delete_comments.feature
0 → 100644
View file @
6f81244f
@javascript
@core
@core_artefact
@core_content
@artefact_comment
Feature
:
Writing and deleting comments
Background
:
Given the following "users" exist
:
|
username
|
password
|
email
|
firstname
|
lastname
|
institution
|
authname
|
role
|
|
pageowner
|
password
|
test01@example.com
|
Paige
|
Owner
|
mahara
|
internal
|
admin
|
Given the following "pages" exist
:
|
title
|
description
|
ownertype
|
ownername
|
|
page1
|
page1
|
user
|
pageowner
|
Scenario
:
Public comment by page owner, public reply by third party
Given
I log in as
"pageowner"
with password
"password"
And
I go to portfolio page
"page1"
And
I follow
"Add comment"
And
I fill in
"Comment 1"
in WYSIWYG editor
"add_feedback_form_message_ifr"
And
I wait
"1"
seconds
And
I press
"Comment"
And
I follow
"Add comment"
And
I fill in
"Comment 2"
in WYSIWYG editor
"add_feedback_form_message_ifr"
And
I press
"Comment"
And
I delete the
"Comment 2"
row
Then
I should see
"Comment 1"
And
I should not see
"Comment 2"
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