Commit 34fdcfb9 authored by Jinelle Foley-Barnes's avatar Jinelle Foley-Barnes Committed by Robert Lyon
Browse files

Moving all the Journal behat tests to Blog dir

There were 2 Behat dir, blog and journal. I deleted Journal and placed all the
tests in blog to match the code base.

Change-Id: Ic283d6342286da1b9a385d2e6d193894972a8370
parent a5d6f3b1
@javascript @core @core_artefact
Feature: Editing my journal
In order to edit my journal
As an admin/user
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 |
Scenario Outline: Creating a journal and editing it (Bug 1513716)
Given I log in as "<log>" with password "Kupuhipa1"
# Creating a journal
And I choose "Journals" in "Content"
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"
And I should see "Journal entry saved"
And I should see "Jinelle was here Nov 2015"
Examples:
| log |
| admin |
| userA |
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment