Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adição dos cenários para sugestão de nomes do autor #349

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions test/cucumber/Conferencia.feature
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,26 @@ Feature: conferencia
And I select the option Serach for Conference at the conference page
Then a list of all conferences containing that date will be presented in the conference screen

Scenario: Suggest name of author when I am filling in the corresponding field on web
Given I am at the new article page
And the last three authors registered in the system were "Paulo Borba", "Marcelo Dias", "Paulo Viana"
When I fill the name of Author field with "Paulo"
Then I can see the following suggestions: "Paulo Borba", "Paulo Viana"

Scenario: Suggest name of author when I am filling in the corresponding field on web
Given I am at the new article page
And the last three authors registered in the system were "Paulo Borba", "Marcelo Dias", "Paulo Viana"
When I fill the Author's name field with "João"
Then I can see no suggestions

Scenario: Suggest name of author when I am filling in the corresponding field
Given the system has the authors names "Paulo Borba", "Paulo Henrique", and "Paulo Viana" in the suggestion's cache
When I try to save an article with author "Paul Bruno"
Then the system stores "Paulo Henrique", "Paulo Viana", "Paulo Bruno" in cache

Scenario: Suggest name of author when I am filling in the corresponding field
Given the system has an empty suggestion cache
When I signed up "Paul Bruno" in the system
Then the system stores "Paul Bruno" in cache

# voces podem criar cenários para ordenar a lista de conferencia, filtrar a lista, verificar se alguns campos podem ser opcionais, etc.