Logo: Relish

  1. Sign in

Project: Tangthuvien 1.0

  • Change version

    1. 1.0

Book reading page

Scenarios
Read book as guest
Given
I was a non-logged-in user
When
I visit book index page
And
I click on a book
Then
I see the book rating box
And
I see the book rating result
And
I see rating book button
And
I can not rate for the book
And
I see the book title and description
And
I see the author name and information
And
I see the first chapter
When
I go to next chapter
Then
I see the book title and description
And
I see the author name and information
And
I see the second chapter
When
I choose a random chapter from selection box
Then
I see the book title and description
And
I see the author name and information
And
I see a random chapter
When
I go to last chapter
Then
I see the book title and description
And
I see the last chapter
And
I see chapter thank count
And
I can not thank the poster
Read book as user
Given
I was a logged-in user
When
I visit book index page
And
I click on a book
Then
I see the book rating box
And
I see the book rating result
And
I see rating book button
And
I can rate for the book
And
I see the book rating count is 0
When
I rate 5 star for the book
Then
I see the book rating is 5.00
And
I see the book rating count is 1
And
I can not rate for the book anylonger
When
I choose a random chapter from selection box
And
I visit book index page
And
I click on the previous book
And
I see the last random chapter
And
I see chapter thank count
And
I can thank the poster for this chapter
When
I thank the poster for this chapter
Then
I see the chapter thank was increased
And
I can not thank the poster anymore
When
I reload the page
Then
I still see thank number not change after increasing
And
I can not thank the poster
And
I see the book rating is 5.00
And
I see the book rating count is 1
And
I can not rate for the book anylonger

Last published about 4 years ago by antipro.