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

Equipe 1 - Atividade 1 #344

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Adicionados novos scenarios a feature Reports
  • Loading branch information
marciojr committed Mar 31, 2015
commit dd75fc9bb5fca48c0642d2f4c1f35a5b590453ae
48 changes: 48 additions & 0 deletions test/cucumber/Reports.feature
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,51 @@ Feature: Reports
And I select the option Export to HTML at the News list page
Then The system generate a HTML report with the news "The first news" in it
#end

Scenario: export a existent research group report to html
Given I am in research group list page
When I select "RGMSGroup" option at the resourch group list
And I select the option export to html at the resourch group show
Then I export a html report about resourch group "RGMSGroup"

Scenario: export a existent news report to html
Given I am in News list page
When I select "RGMSNews" option at the News list
And I select the option export to html at the News show
Then I export a html report about News "RGMSNews"

Scenario: export a existent research group report to pdf
Given I am in research group list page
When I select "RGMSGroup" option at the resourch group list
And I select the option export to PDF at the resourch group show
Then I export a PDF report about resourch group "RGMSGroup"

Scenario: export a existent news report to PDF
Given I am in News list page
When I select "RGMSNews" option at the News list
And I select the option export to PDF at the News show
Then I export a PDF report about News "RGMSNews"

Scenario: export a existent research group report to xml
Given I am in research group list page
When I select "RGMSGroup" option at the resourch group list
And I select the option export to XML at the resourch group show
Then I export a XML report about resourch group "RGMSGroup"

Scenario: export a existent news report to xml
Given I am in News list page
When I select "RGMSNews" option at the News list
And I select the option export to XML at the News show
Then I export a XML report about News "RGMSNews"

Scenario: export report to html link not enable when there is not resourch group created
Given I am in resourch group list page
And there is not resourch group created
When I try to select the Export to html option at the resourch group list page
Then I can not select the option Export to HTML at the News list page

Scenario: export report to html link not enable when there is not members report created
Given I am at the member list page
And there is not Member created
When I try to select the Export to html option at the Member list page
Then I can not select the option Export to HTML at the Member list page