Skip to content

Commit

Permalink
Tentando ajeitar o erro do remove news
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrootorres committed Jan 12, 2014
1 parent 733d1fe commit 0809682
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 8 deletions.
Binary file added chromedrivers/chromedriver
Binary file not shown.
4 changes: 2 additions & 2 deletions target/test-reports/TEST-functional-cucumber-all bibtex.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="0" failures="0" hostname="Dyego" name="all bibtex" tests="1" time="1.657" timestamp="2014-01-10T21:14:53">
<testsuite errors="0" failures="0" hostname="Pedro-Torres.local" name="all bibtex" tests="1" time="2.2" timestamp="2014-01-12T19:36:53">
<properties />
<testcase classname="grails.plugin.cucumber.CucumberTest" name="show all bibtex" time="1.598" />
<testcase classname="grails.plugin.cucumber.CucumberTest" name="show all bibtex" time="2.148" />
<system-out><![CDATA[@i9n
Feature: all bibtex
As a member
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Testsuite: all bibtex
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,657 sec
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2,2 sec
------------- Standard Output ---------------
@i9n
Feature: all bibtex
Expand All @@ -17,4 +17,4 @@ Feature: all bibtex

--Output from show all bibtex--------------- ---------------- ---------------

Testcase: show all bibtex took 1,598 sec
Testcase: show all bibtex took 2,148 sec
8 changes: 4 additions & 4 deletions test/cucumber/steps/NewsSteps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,11 @@ When(~'^I select to view new "([^"]*)" in resulting list$') { String title ->
to NewsShowPage
}

When(~'I select the option to remove in news show page$') {->
And(~'I select the option to remove in news show page$') {->
to NewsShowPage
page.select('input', 'delete')
page.select('input', 'remove')
}

Then(~'^the new "([^"]*)" is properly removed by the system$') { String title ->
assert !NewsTestDataAndOperations.checkExistingNews(description,date,group)
Then(~'^the new "([^"]*)" is properly removed by the system$') { String description, Date date, ResearchGroup researchGroup ->
assert !NewsTestDataAndOperations.deleteNews(description, date, researchGroup)
}
Binary file added web-app/uploads/ANN.pdf
Binary file not shown.
Binary file added web-app/uploads/Dissertationwithoutaddress.txt
Binary file not shown.
Binary file added web-app/uploads/IICSE-10.pdf
Binary file not shown.
Binary file added web-app/uploads/IICSE-12.pdf
Binary file not shown.
Empty file added web-app/uploads/Modularity.pdf
Empty file.
Empty file added web-app/uploads/Ngs.pdf
Empty file.
Empty file added web-app/uploads/TCS-01.pdf
Empty file.
Empty file added web-app/uploads/TCS-02.pdf
Empty file.
Binary file added web-app/uploads/TCS-03.pdf
Binary file not shown.
Empty file added web-app/uploads/TCS-04.pdf
Empty file.
Empty file added web-app/uploads/TCS-101.pdf
Empty file.
Empty file added web-app/uploads/TCS-102.pdf
Empty file.
Empty file added web-app/uploads/TCS-99.pdf
Empty file.
Empty file.
Binary file added web-app/uploads/dissertation.txt
Binary file not shown.
Binary file added web-app/uploads/new.pdf
Binary file not shown.
Binary file added web-app/uploads/tool.pdf
Binary file not shown.
Binary file added web-app/uploads/tooldelete.pdf
Binary file not shown.

0 comments on commit 0809682

Please sign in to comment.