Logo: Relish

  1. Sign in

Project: Seleniumtestproject 1.0

  • Change version

    1. 1.0

Add a comment to a content

I, as a reader of a site,
Want to comment on content that I read.
To leave my opinion, suggestion or idea and thus interact with other readers.

Background
When
I visit the page that contains the comment widget
Scenarios
Add a comment to a content
And
I put a word like "Dani Gouvea" in the name field
And
I put a word like "[email protected]" in the email field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the message "Parabéns! Seu comentário foi enviado com sucesso."
Try to add a comment to a content without a name
And
I put a word like "[email protected]" in the email field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo nome é obrigatório."
Try to add a comment to a content without an e-mail
And
I put a word like "Dani Gouvea" in the name field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo email é obrigatório."
Try to add a comment to a content without a comment
And
I put a word like "Dani Gouvea" in the name field
And
I put a word like "[email protected]" in the email field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo comentário é obrigatório."
Try to add a comment to a content without the terms of use
And
I put a word like "Dani Gouvea" in the name field
And
I put a word like "[email protected]" in the email field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I click on "Send" button
Then
I see the error message "É necessário marcar que concorda com os termos de uso."
Try to add a comment with more than 400 characters in comment field
And
I put a word like "Dani Gouvea" in the name field
And
I put a word like "[email protected]" in the email field
And
I put a word like "Mussum ipsum cacilds, vidis litro abertis. Consetis adipiscings elitis. Pra lá , depois divoltis porris, paradis. Paisis, filhis, espiritis santis. Mé faiz elementum girarzis, nisi eros vermeio, in elementis mé pra quem é amistosis quis leo. Manduma pindureta quium dia nois paga. Sapien in monti palavris qui num significa nadis i pareci latim. Interessantiss quisso pudia ce receita de bolis, mais bolis eu num gostis." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo comentário pode ter no máximo 400 caracteres."
Try to add a comment to a content with an invalid email
And
I put a word like "Dani Gouvea" in the name field
And
I put a word like "[email protected]@" in the email field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O email deve ser válido."
Try to add a comment to a content with a whitespace at the name field
And
I put a word like " " in the name field
And
I put a word like "[email protected]" in the email field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo nome é obrigatório."
Try to add a comment to a content with a whitespace at the email field
And
I put a word like "Daniela" in the name field
And
I put a word like " " in the email field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo email é obrigatório."
Try to add a comment to a content with a whitespace at the email field
And
I put a word like "Daniela" in the name field
And
I put a word like " " in the email field
And
I put a word like "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo." in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo email é obrigatório."
Try to add a comment to a content with a whitespace at the comment field
And
I put a word like "Daniela" in the name field
And
I put a word like "[email protected]" in the email field
And
I put a word like " " in the comment field
And
I check the terms of use
And
I click on "Send" button
Then
I see the error message "O campo comentário é obrigatório."

Last published about 7 years ago by Daniela Vieira.