Tets :: Posts - crip-home/competitions GitHub Wiki
POST FORM
- title (3:255);
- image (link);
- body;
- status (draft, pendig, private, published, trash);
- publish_at (date-2017-01-24);
- language (LV; EN);
Manager post creat form
Overall create posts & view all posts.
- Log in as user: '[email protected]';
- Go to list of all posts;
- Push create new post link;
- Fill create form:
- Enter title field: 'Aa';
- Enter in to image field: 'image';
- Enter body field: '';
- Enter publish at: '';
- Enter languages: 'EN';
- Save information.
- Error in 3 point, enter not correct data.
- Enter in to image field: '../post/images.jpg';
- Enter title field: 'PostName';
- Enter publish at: '2017-02-10';
- Enter body field: 'This post include interestigs facts about sports';
- Enter status: 'Published';
- Enter languages: 'EN';
- Save again information;
- View post to list of all posts;
Post creater
Overall creator posts & view only personal posts
- Log in as [email protected];
- Go to list of posts. List should be empty.
- Push create new post link;
- Fill create form:
- Enter title field: 'ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg';
- Enter in to image field: 'picture';
- Enter body field: '';
- Enter publish at: '';
- Enter languages: 'LV';
- Save information.
- Error in 3 point, enter not correct data.
- Enter in to image field: '../post/images.jpg';
- Enter title field: 'FirstPostTitle';
- Enter publish at: '2017-01-29';
- Enter body field: 'This is my first post.';
- Enter status: 'Published';
- Enter languages: 'LV';
- Save again information;
- List should contain only one post.