Skip to content

Commit 2604efd

Browse files
committed
add test
1 parent 1c71042 commit 2604efd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/behat/reply_post.feature

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@mod @mod_moodleoverflow @javascript
2+
Feature: Replying to posts in a moodleoverflow
3+
4+
Scenario: While replying to a post I need to see the original post I'm answering to
5+
Given I add a moodleoverflow discussion with posts from different users
6+
When I navigate as "teacher1" to "C1" "Moodleoverflow 1" "Discussion 1"
7+
And I click on "Answer" "link"
8+
Then I should see "You are adressing the post from Tamaro Walter:"
9+
When I click on "#moodleoverflow_showpost" "css_element"
10+
Then I should see "Message from teacher"
11+
When I click on "#moodleoverflow_showpost" "css_element"
12+
Then I should not see "Message from teacher"

0 commit comments

Comments
 (0)