edit_journal.feature 1.01 KB
Newer Older
1
2
3
@javascript @core @core_artefact
Feature: Editing my journal
In order to edit my journal
4
As an user
5
6
7
8
9
10
11
12
I need to create a journal

Background:
Given the following "users" exist:
 | username | password | email | firstname | lastname | institution | authname | role |
 | userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |


13
14
Scenario: Creating a journal and editing it (Bug 1513716)
Given I log in as "userA" with password "Kupuhipa1"
15
# Creating a journal
16
And I choose "Journals" in "Content" from Main menu
17
18
19
20
21
22
23
24
25
26
27
28
29
30
And I should see "Journals"
When I click on "New entry"
And I set the following fields to these values:
 | Title | My new journal |
 | Entry | blog |
And I press "Save entry"
Then I should see "Journal entry saved"
# Editing the Journal
And I click on "Edit" in "My new journal" row
And I set the following fields to these values:
 | Title | My new journal |
 | Entry | Jinelle was here Nov 2015 |
 And I press "Save entry"

31
32
 And I should see "Jinelle was here Nov 2015"
 And I should see "Last updated:"