Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
809 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
*.log | ||
results/ | ||
results/index.html | ||
index.html | ||
.idea | ||
capybara-*.html | ||
test.feature | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
results/junit/TEST-features-adding-and-removing-documents-from-a-worklist.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="0" name="Adding and removing documents from a worklist" skipped="0" tests="3" time="29.486323"> | ||
<testcase classname="Adding and removing documents from a worklist.I can add a document to a worklist" name="I can add a document to a worklist" time="13.866200"> | ||
</testcase> | ||
<testcase classname="Adding and removing documents from a worklist.I cannot add the same document twice" name="I cannot add the same document twice" time="11.428274"> | ||
</testcase> | ||
<testcase classname="Adding and removing documents from a worklist.I can remove a document from a worklist" name="I can remove a document from a worklist" time="4.191849"> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="1" name="Audience filtering" skipped="0" tests="2" time="56.574351"> | ||
<testcase classname="Audience filtering.I can see content filtered for audience kbstaff when I am audience kbstaff" name="I can see content filtered for audience kbstaff when I am audience kbstaff" time="34.379745"> | ||
<failure message="failed" type="failed"> | ||
Scenario: I can see content filtered for audience kbstaff when I am audience kbstaff | ||
|
||
Given I am logged in as "editor1" | ||
Given a document with filename "kbstaff.ditaval" exists with content | ||
And a document with filename "bbah.dita" exists with content | ||
When I preview the document with audience filter "kbstaff" | ||
Then I should see "You need to run the xslt transformation" in the preview window | ||
|
||
Message: | ||
expected there to be content "You need to run the xslt transformation" in "Skip to content\nSearch: Knowledge Base IU\nInclude archived documents\n10\n15\n20\n50\n100\n200\n300\nSearch results per page\nTHIS IS ONLY A DEMO OF PREVIEW FUNCTIONALITY. LINKS DO NOT WORK.\nLogin\nLogin is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.\nUsername:\nPassword:\nClose\nHome Menus Glossary Help\nText size:\nBoth bbah.dita and bbah.ditamap must exist in the repository. Please route or save your document before previewing.\n\nLast modified on .\nComments/Questions/Corrections\nUse this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!\nIf you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.\nContact Information\nFull Name:\n\nE-mail address:\nNote: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.\nMy comment concerns this document\nYour comments:\nChat with a consultant\n (IU login required)\nAvailable 24 hours a day, 7 days a week\nUITS Services and Support About the Knowledge Base KB Comments\nCopyright 2005-2010, The Trustees of Indiana University Copyright Complaints" (RSpec::Expectations::ExpectationNotMetError) (RSpec::Expectations::ExpectationNotMetError) | ||
./features/step_definitions/all_steps.rb:316 | ||
./features/step_definitions/all_steps.rb:315:in `/^I should see "([^"]*)" in the preview window$/' | ||
features/audience-filtering.feature:34:in `Then I should see "You need to run the xslt transformation" in the preview window' </failure> | ||
</testcase> | ||
<testcase classname="Audience filtering.I can not see content filtered for audience kbstaff when I am audience default" name="I can not see content filtered for audience kbstaff when I am audience default" time="22.194606"> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="0" name="Creating content" skipped="0" tests="2" time="4.793605"> | ||
<testcase classname="Creating content.All form fields that I must complete for a new document are marked with an asterisk" name="All form fields that I must complete for a new document are marked with an asterisk" time="1.107525"> | ||
</testcase> | ||
<testcase classname="Creating content.I can add a new doc" name="I can add a new doc" time="3.686080"> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="0" name="CRUD web interface" skipped="0" tests="2" time="0.454698"> | ||
<testcase classname="CRUD web interface.I am asked to log in" name="I am asked to log in" time="0.080770"> | ||
</testcase> | ||
<testcase classname="CRUD web interface.I can log in as an editor" name="I can log in as an editor" time="0.373928"> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="1" name="Deleting content" skipped="0" tests="1" time="13.838798"> | ||
<testcase classname="Deleting content.I can delete a doc" name="I can delete a doc" time="13.838798"> | ||
<failure message="failed" type="failed"> | ||
Scenario: I can delete a doc | ||
|
||
Given I am logged in as "editor1" | ||
And a document with filename "xxxx" exists with content | ||
When I go to the homepage | ||
And I follow "Delete content" | ||
And I fill in "documentId" with "xxxx" in the frame | ||
And I press "submit" in the frame | ||
|
||
Message: | ||
no link with title, id or text 'Delete content' found (Capybara::ElementNotFound) (Capybara::ElementNotFound) | ||
(eval):2:in `send' | ||
(eval):2:in `click_link' | ||
./features/step_definitions/web_steps.rb:35 | ||
./features/step_definitions/web_steps.rb:14:in `with_scope' | ||
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | ||
features/deleting-content.feature:18:in `And I follow "Delete content"' </failure> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="0" name="Reading content" skipped="0" tests="0" time="3.699683"> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="1" name="Rendering" skipped="0" tests="3" time="99.352350"> | ||
<testcase classname="Rendering.I can render a DITA-OT sample document" name="I can render a DITA-OT sample document" time="25.011296"> | ||
</testcase> | ||
<testcase classname="Rendering.I can render a specialized doc that doesn't reference any other documents" name="I can render a specialized doc that doesn't reference any other documents" time="24.772767"> | ||
</testcase> | ||
<testcase classname="Rendering.I can render a specialized doc, bawq, that references another document, bawf" name="I can render a specialized doc, bawq, that references another document, bawf" time="49.568287"> | ||
<failure message="failed" type="failed"> | ||
Scenario: I can render a specialized doc, bawq, that references another document, bawf | ||
|
||
Given I am logged in as "editor1" | ||
Given a document with filename "bawf.dita" exists with content | ||
And a document with filename "bawf.ditamap" exists with content | ||
And a document with filename "bawq.dita" exists with content | ||
And a document with filename "bawq.ditamap" exists with content | ||
When I preview the document with audience filter "default" | ||
Then I should see "How do I use the Subversion DITA repository?" in the preview window | ||
|
||
Message: | ||
expected there to be content "How do I use the Subversion DITA repository?" in "Skip to content\nSearch: Knowledge Base IU\nInclude archived documents\n10\n15\n20\n50\n100\n200\n300\nSearch results per page\nTHIS IS ONLY A DEMO OF PREVIEW FUNCTIONALITY. LINKS DO NOT WORK.\nLogin\nLogin is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.\nUsername:\nPassword:\nClose\nHome Menus Glossary Help\nText size:\n\n\nLast modified on .\nComments/Questions/Corrections\nUse this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!\nIf you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.\nContact Information\nFull Name:\n\nE-mail address:\nNote: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.\nMy comment concerns this document\nYour comments:\nChat with a consultant\n (IU login required)\nAvailable 24 hours a day, 7 days a week\nUITS Services and Support About the Knowledge Base KB Comments\nCopyright 2005-2010, The Trustees of Indiana University Copyright Complaints" (RSpec::Expectations::ExpectationNotMetError) (RSpec::Expectations::ExpectationNotMetError) | ||
./features/step_definitions/all_steps.rb:316 | ||
./features/step_definitions/all_steps.rb:315:in `/^I should see "([^"]*)" in the preview window$/' | ||
features/rendering.feature:299:in `Then I should see "How do I use the Subversion DITA repository?" in the preview window' </failure> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="2" name="Sorting a worklist" skipped="0" tests="2" time="28.777011"> | ||
<testcase classname="Sorting a worklist.Sorting on one column ascending and descending" name="Sorting on one column ascending and descending" time="16.430082"> | ||
<failure message="failed" type="failed"> | ||
Scenario: Sorting on one column ascending and descending | ||
|
||
Given I am logged in as "editor1" | ||
Given the following documents exist with metadata: | ||
And a worklist exists with id 3090 | ||
And worklist 3090 is empty | ||
And the worklist contains the following documents: | ||
And the worklist displays the author column | ||
When I sort the worklist by author | ||
Then the documents should appear in this order: | ||
And I sort the worklist by author | ||
Then the documents should appear in this order: | ||
|
||
Message: | ||
Unable to find css "table.headerinfo" (Capybara::ElementNotFound) (Capybara::ElementNotFound) | ||
(eval):2:in `send' | ||
(eval):2:in `find' | ||
./features/step_definitions/web_steps.rb:14:in `with_scope' | ||
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | ||
features/sorting-a-worklist.feature:22:in `And a worklist exists with id 3090' </failure> | ||
</testcase> | ||
<testcase classname="Sorting a worklist.Setting a default sort order for one column" name="Setting a default sort order for one column" time="12.346929"> | ||
<failure message="failed" type="failed"> | ||
Scenario: Setting a default sort order for one column | ||
|
||
Given I am logged in as "editor1" | ||
And the following documents exist with metadata: | ||
And a worklist exists with id 3090 | ||
And worklist 3090 is empty | ||
And the worklist contains the following documents: | ||
And the worklist displays the author column | ||
And I sort the worklist by author | ||
And I set this sort order as default | ||
When I sort the worklist by content id | ||
And I reload the worklist | ||
Then the worklist should be sorted by author | ||
|
||
Message: | ||
Unable to find css "table.headerinfo" (Capybara::ElementNotFound) (Capybara::ElementNotFound) | ||
(eval):2:in `send' | ||
(eval):2:in `find' | ||
./features/step_definitions/web_steps.rb:14:in `with_scope' | ||
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | ||
features/sorting-a-worklist.feature:64:in `And a worklist exists with id 3090' </failure> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="1" name="Transclusion" skipped="0" tests="1" time="38.391407"> | ||
<testcase classname="Transclusion.boiler usage" name="boiler usage" time="38.391407"> | ||
<failure message="failed" type="failed"> | ||
Scenario: boiler usage | ||
|
||
Given I am logged in as "editor1" | ||
Given a document with filename "boilers-task.dita" exists with content | ||
And a document with filename "bawt.ditamap" exists with content | ||
And a document with filename "bawt.dita" exists with content | ||
When I preview the document with audience filter "default" | ||
Then I should see "You must have created a new topic and its ditamap in the DITA KB." in the preview window | ||
And I should see "Test sentence." in the preview window | ||
|
||
Message: | ||
expected there to be content "You must have created a new topic and its ditamap in the DITA KB." in "Skip to content\nSearch: Knowledge Base IU\nInclude archived documents\n10\n15\n20\n50\n100\n200\n300\nSearch results per page\nTHIS IS ONLY A DEMO OF PREVIEW FUNCTIONALITY. LINKS DO NOT WORK.\nLogin\nLogin is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.\nUsername:\nPassword:\nClose\nHome Menus Glossary Help\nText size:\n\n\nLast modified on .\nComments/Questions/Corrections\nUse this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!\nIf you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.\nContact Information\nFull Name:\n\nE-mail address:\nNote: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.\nMy comment concerns this document\nYour comments:\nChat with a consultant\n (IU login required)\nAvailable 24 hours a day, 7 days a week\nUITS Services and Support About the Knowledge Base KB Comments\nCopyright 2005-2010, The Trustees of Indiana University Copyright Complaints" (RSpec::Expectations::ExpectationNotMetError) (RSpec::Expectations::ExpectationNotMetError) | ||
./features/step_definitions/all_steps.rb:316 | ||
./features/step_definitions/all_steps.rb:315:in `/^I should see "([^"]*)" in the preview window$/' | ||
features/transclusion.feature:67:in `Then I should see "You must have created a new topic and its ditamap in the DITA KB." in the preview window' </failure> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="0" name="Updating content" skipped="0" tests="1" time="8.489511"> | ||
<testcase classname="Updating content.I can update a doc" name="I can update a doc" time="8.489511"> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="0" name="Visibility filtering" skipped="0" tests="0" time="0.102439"> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite errors="0" failures="0" name="Worklists" skipped="0" tests="1" time="0.411783"> | ||
<testcase classname="Worklists.Creating a new worklist is an option" name="Creating a new worklist is an option" time="0.411783"> | ||
</testcase> | ||
</testsuite> |