diff --git a/test/cucumber/Conferencia.feature b/test/cucumber/Conferencia.feature index 8553a4a3..12923ad1 100644 --- a/test/cucumber/Conferencia.feature +++ b/test/cucumber/Conferencia.feature @@ -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.