-
Type:
Story
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 Penguins
-
Fix Version/s: 1.0 Penguins
-
Labels:None
-
Sprint:2.0 Penguins
As a writer, I'd like to be able to post an article and to see the results on the page to be able to see my work as other would see it
Acceptance Criteria:
- On the main page user should see a Write Article button after log in (nothing else should be shown on that page and not logged in use can see just an empty page)
- After pressing the Write Article button, user should see an editor with the ability to use BB codes like in JCommune (if there are other formats available in RoR as a plugin out of box, we might consider them instead of BB codes)
- After creating an article, user presses Post Article and is redirected to the page where he can view it (http://uat.jtalks.org/antarcticle/article/123)
- is blocked by
-
ANTARCTICLE-130 Article length is not validated
-
- Closed
-
- relates to
-
ANTARCTICLE-127 Long tags break layout
-
- Closed
-
-
ANTARCTICLE-109 Iteration 1.0 features
-
- Closed
-
Environment
http://uat.jtalks.org/antarcticle/articles, 1.4 Larks, Chrome
Was tested:
1) Presence of button "Write article" after sign in, and his absence, when user isn't logged
Steps:
1. Go to http://uat.jtalks.org/antarcticle/articles
AR=ER: Button "Write article" is missing
Steps:
1. Go to http://uat.jtalks.org/antarcticle/articles
2. Sign in
AR=ER: Button "Write article" is present
2) After pressing the "Write Article" button, user should see an editor with 3 fields: Article title, Article, Tags and button "Post article"
Steps:
1. Go to http://uat.jtalks.org/antarcticle/articles and sign in
2. Press "Write article"
AR=ER: we see an editor with 3 fields: Article title, Article, Tags and button "Post article"*
3) By means of Markdown markup language we can format text: Italic, Bold, Strikethrough, insert links, images, tables, blockquotes
Preconditions:
1.Go to http://uat.jtalks.org/antarcticle/articles and sign in
2. Press "write article"
Steps:
1. Type:
*text italic*
**text bold**
***text bold si italic***
~Scratch this.~
2. Click "Post article"
AR=ER 1 row: text is italic
2 row: text is bold
3 row: text is bold and italic
4 row: text is strikethrough
Steps:
1. Type
[I'm an inline-style link](https://www.google.com)
2. Click "Post article"
AR=ER: This text is a link to www.google.com
Steps:
1. Type

2. Click "Post article"
AR=ER: Is inserted image https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png
Steps:
1. Type text from https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#wiki-tables for insert table.
2. Click "Post article"
AR=ER:Data are represented as table
Steps:
1. Type
> Blockquotes are very handy in email to emulate reply text.
2. Click "Post article"
AR=ER: This text is lighter in color
4)After creating an article, user presses Post Article and is redirected to the page where he can view it
Steps
1. Go to http://uat.jtalks.org/antarcticle/articles and sign in
2. Click "write article"
3. Fill the first 2 fields and click "Post article"
AR=ER: User can view article, edit and delete him
Test result
Issue can be closed