-
Notifications
You must be signed in to change notification settings - Fork 75
Cenários da Equipe 6 #326
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
base: master
Are you sure you want to change the base?
Cenários da Equipe 6 #326
Changes from 19 commits
47c44ff
3a080e4
c157964
8e33dc9
52710b3
92f7877
ed74281
604a7b9
5dda019
3aaecc6
d0624f0
1d1c38d
d5fbc76
02d6323
9fc6ca8
b4eea18
7e71262
d668c9f
1133a33
ddd7f61
fca37c8
40bfc83
3f5483b
d9494f7
119024f
e1b6dea
e0eca92
8ee9f1d
2bc97d9
07e8123
39631ea
93fa300
203bb1e
34648a0
6289eb3
b858be9
b54e9e3
6d7ab6d
339ad13
80222e2
f2be793
fb3c61b
1736b18
e219baf
44af04b
fa87fde
cf82b96
53aff34
2ef1c6a
a9cf977
fd4a5c6
e21278a
706dba7
0b8aac1
5d33731
d3e8267
18fd548
b893f09
9d78a1d
6c567e6
2cb3c2d
e4d4091
b0e5a46
11c41c7
3309668
9208d1d
716cf84
c1cd319
37b1924
68800dc
664bcb4
97214af
90b69ee
14c3f96
5b302db
67e62e3
264493f
5632551
405ed3a
d19fc06
3a6ae19
f266e58
709421f
b5ffb4a
5316c2b
c00c4c6
2c83245
7a49633
a98dee1
e6a8d78
c6f39e3
80b78fc
4243da8
3e84e1b
8537135
38ba9d6
e2f78db
5bbd83a
1fc255f
05c5202
88085db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| @i9n | ||
| Feature: Book | ||
| As a member of a research group | ||
| I want to add, remove and modify books I have published | ||
| so that I can generate web pages and reports containing these books | ||
|
|
||
| Scenario: new book | ||
| Given the system has no book entitled "SPL Development" | ||
| When I create the book "SPL Development" with file name "HSPLE.pdf" | ||
| Then the book "SPL Development" is properly stored by the system | ||
|
|
||
| Scenario: remove book | ||
| Given the book "SPL Development" is stored in the system with file name "NGSPL-2.pdf" | ||
| When I remove the book "SPL Development" | ||
| Then the book "SPL Development" is properly removed by the system | ||
|
|
||
| Scenario: duplicate book | ||
| Given the book "SPL Development" is stored in the system with file name "NGSPL-0.pdf" | ||
| When I create the book "SPL Development" with file name "NGSPL-0.pdf" | ||
| Then the book "SPL Development" is not stored twice | ||
|
|
||
| Scenario: edit existing book | ||
| Given the book "SPL Development" is stored in the system with file name "HSPLE.pdf" | ||
| When I edit the book title from "SPL Development" to "New Title" | ||
| Then the book "New Title" is properly updated by the system | ||
|
|
||
| Scenario: upload book with a file | ||
| Given the system has no books stored | ||
| When I upload the books of "curriculo.xml" | ||
| Then the system has all the books of the xml file | ||
|
|
||
| Scenario: new book web | ||
| Given I am at the book page | ||
| And the system has no book entitled "Next Generation Software Product Line Engineering" | ||
| When I go to new book page | ||
| And I use the webpage to create the book "Next Generation Software Product Line Engineering" with file name "Ngs.pdf" | ||
| Then the book "Next Generation Software Product Line Engineering" was stored by the system | ||
|
|
||
| Scenario: list existing books ordered by publication date | ||
| Given I am at the books page | ||
| And the system has some books created | ||
| When I select to view the list of books | ||
| And I select to order the list of books by "publication date" | ||
| Then my book list shows the books ordered by "publication date" | ||
|
|
||
| Scenario: download book file | ||
| Given I am at the books page | ||
| And the system has a book with file named "NGSPL-0.pdf" | ||
| When I select the download button | ||
| Then I can download the file named "NGSPL-0.pdf" | ||
|
|
||
| Scenario: new book web | ||
| Given I am at the publications menu | ||
| When I select the "Book" option at the publications menu | ||
| And I select the new book option at the book page | ||
| Then I can fill the book details | ||
|
|
||
| Scenario: list existing books ordered by volume in ascending order | ||
| Given I am at the books page | ||
| And the system has some books created | ||
| When I select to view the list of books | ||
| And I select to order the list of books by "volume" | ||
| Then my book list shows the books ordered by "volume" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,3 +22,10 @@ Feature: Funder | |
| Given I am at the create funder page | ||
| When I fill the funder code with "12345" | ||
| Then the funder with code "12345" is properly stored by the system | ||
|
|
||
| Scenario: filter existing funders by name | ||
| Given I am at the funders page | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. desnecessário |
||
| And I create some funder named "Paulo" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CNPq |
||
| When I select to view the list of funders | ||
| And I select to filter the list of funders by name "Paulo" | ||
| Then my article list shows only the funders named "Paulo" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nao faz sentido |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,15 +13,15 @@ Feature: member | |
| When I view the member list | ||
| Then my list members contains member "usernametest" | ||
|
|
||
| Scenario: delete member | ||
| Given the system has member with username "usernametest" | ||
| When I delete a member with username "usernametest" | ||
| Then the member with "usernametest" doesnt exist | ||
| Scenario: delete a existing member | ||
| Given the system has a member with username "usertestname" | ||
| When I delete a member with username "usertestname" | ||
| Then the member with username "usertestname" will be deleted | ||
|
|
||
| Scenario: new member with existing username | ||
| Given the system has member with username "usernametest" | ||
| When I create the member with username "usernametest" | ||
| Then the member "usernametest" is not registered | ||
| Given the system has a member with username "usertestname" | ||
| When I create the member with a username "usertestname" | ||
| Then the member with username "usertestname" is not registered | ||
|
|
||
| Scenario: new member with existing email | ||
| Given the system has member with email "[email protected]" | ||
|
|
@@ -30,7 +30,8 @@ Feature: member | |
|
|
||
| Scenario: login with incorrect password | ||
| Given I am at the login page | ||
| When I fill username and password with "admin" and "incorrectpassword" | ||
| When I fill username with "admin" | ||
| And I fill password with "incorrectpassword" | ||
| Then I am still on the login page with an error message | ||
|
|
||
| Scenario: user registration | ||
|
|
@@ -56,16 +57,10 @@ Feature: member | |
| When I fill the user details with "jose" "josesilva" "jose@com" "UFPE" | ||
| Then I am still on the create member page with the error message | ||
|
|
||
|
|
||
| #Scenario: register member invalid aditional info | ||
| # Given I am at the create member page | ||
| # When I fill many user details with "berg" "bergU" "[email protected]" "UFPE" "ajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaajsdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" | ||
| # Then I am still on the create member page with the error message | ||
|
|
||
| #Scenario: new member with invalid phone | ||
| # Given the system has no member with username "userwithinvalidphone" | ||
| # When I create a member with username "userwithinvalidphone" | ||
| # Then I am still on the create member page with the error message | ||
| Scenario: new member with invalid phone | ||
| Given I am at the create member page | ||
| When I create a member with invalid phone | ||
| Then I am still on the create member page with a "Invalid Phone" error message | ||
|
|
||
| #if ($contextualInformation) | ||
| Scenario: new member filled with default data | ||
|
|
@@ -75,4 +70,9 @@ Feature: member | |
| Scenario: user registration with default data | ||
| Given I am at the register page | ||
| Then I see default data filled on register form | ||
| #end | ||
| #end | ||
|
|
||
| Scenario: download member list file | ||
| Given I am the member list page and the system has members | ||
| When I select the member list download button | ||
| Then I can download the file named "ML-0.pdf" that contains the member list | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| @i9n | ||
| Feature: member | ||
| As an administrator of the RGMS system | ||
| I want to add, remove and modify users in the system. | ||
|
|
||
| Scenario: new member with valid mail server | ||
| Given the system has no member with username "usernametest" | ||
| When I create a member with username "usernametest" | ||
| Then the member with username "usernametest" is properly stored by the system | ||
|
|
||
| Scenario: list existing member | ||
| Given the system has member with username "usernametest" | ||
| When I view the member list | ||
| Then my list members contains member "usernametest" | ||
|
|
||
| Scenario: delete a existing member | ||
| Given the system has a member with username "usertestname" | ||
| When I delete a member with username "usertestname" | ||
| Then the member with username "usertestname" will be deleted | ||
|
|
||
| Scenario: new member with existing username | ||
| Given the system has a member with username "usertestname" | ||
| When I create the member with a username "usertestname" | ||
| Then the member with username "usertestname" is not registered | ||
|
|
||
| Scenario: new member with existing email | ||
| Given the system has member with email "[email protected]" | ||
| When I try to create the member "Rebeca Souza" with email "[email protected]" | ||
| Then the member named "Rebeca Souza" is not registered | ||
|
|
||
| Scenario: login with incorrect password | ||
| Given I am at the login page | ||
| When I fill username with "admin" | ||
| And I fill password with "incorrectpassword" | ||
| Then I am still on the login page with an error message | ||
|
|
||
| Scenario: user registration | ||
| Given I am at the register page | ||
| When I fill the user details with a name, username, passoword1, password2, email, university, status "jose" "josesilva" "123456" "123456" "[email protected]" "UFPE" "Graduate Student" | ||
| Then I am redirected to the Login Page | ||
| And A message indicating the user was successfully registered is displayed | ||
|
|
||
|
|
||
| # Scenario: create member web | ||
| # Given I am at the create member page | ||
| # When I fill the user details with "jose" "josesilva" "[email protected]" "UFPE" | ||
| # Then I am on the member show page | ||
| # Then the member with username "josesilva" is created | ||
|
|
||
| Scenario: create member web with partial information in chrome | ||
| Given I am at the create member page | ||
| When I fill some user details with "jose" "josesilva" "[email protected]" "UFPE" | ||
| Then I am still on the create member page with the error message | ||
|
|
||
| Scenario: register user with invalid data | ||
| Given I am at the create member page | ||
| When I fill the user details with "jose" "josesilva" "jose@com" "UFPE" | ||
| Then I am still on the create member page with the error message | ||
|
|
||
| Scenario: new member with invalid phone | ||
| Given I am at the create member page | ||
| When I create a member with invalid phone | ||
| Then I am still on the create member page with a "Invalid Phone" error message | ||
|
|
||
| #if ($contextualInformation) | ||
| Scenario: new member filled with default data | ||
| Given I am at the create member page | ||
| Then I see default data filled on create form | ||
|
|
||
| Scenario: user registration with default data | ||
| Given I am at the register page | ||
| Then I see default data filled on register form | ||
| #end | ||
|
|
||
| Scenario: download member list file | ||
| Given I am the member list page and the system has members | ||
| When I select the member list download button | ||
| Then I can download the file named "ML-0.pdf" that contains the member list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
necessidade?