Skip to content

Commit

Permalink
Merge pull request otwcode#1942 from zz9pzza/issue_4187_disable_test
Browse files Browse the repository at this point in the history
issue 4187 Just defer the test until it is fixed
  • Loading branch information
zz9pzza committed Dec 14, 2014
2 parents 97595af + 32fdbcb commit 6a5798e
Showing 1 changed file with 63 additions and 60 deletions.
123 changes: 63 additions & 60 deletions features/importing/work_import_lj.feature
Original file line number Diff line number Diff line change
Expand Up @@ -94,73 +94,76 @@ Feature: Import Works from LJ
Scenario: Creating a new work from an LJ story that is posted to a community
Given basic tags
And I am logged in as "cosomeone"
When I go to the import page
And I fill in "urls" with "http://community.livejournal.com/rarelitslash/271960.html"
When I press "Import"
Then I should see "Preview"
And I should see "Poirot - Agatha Christie" within "dd.fandom"
And I should see "General Audiences" within "dd.rating"
And I should see "Published:2010-10-23"
And I should see "Mrs Stanwood's Birthday Party" within "h2.title"
And I should not see "[Poirot]" within "h2.title"
And I should see "Mrs Stanwood, famous medical researcher" within "div.summary"
And I should see "more to their friendship than he'd thought." within "div.summary"
And I should see "Thanks to Tevildo and phantomphan1990 for beta-reading!"
And I should see the image "src" text "http://www.rbreu.de/fan/stanwood_title_400.png"
And I should see "Follow me to AO3"
And I should not see "rarelitslash"
And I should not see "rebecca2525"
And I should not see the image "alt" text "Add to memories!"
And I should not see the image "alt" text "Next Entry"
And I should not see "mood"
And I should not see "Entry tags"
When I press "Post"
Then I should see "Work was successfully posted."
When I am on cosomeone's user page
Then I should see "Mrs Stanwood's Birthday Party"
When "Issue 4817" is fixed
#When I go to the import page
# And I fill in "urls" with "http://community.livejournal.com/rarelitslash/271960.html"
#When I press "Import"
#Then I should see "Preview"
# And I should see "Poirot - Agatha Christie" within "dd.fandom"
# And I should see "General Audiences" within "dd.rating"
# And I should see "Published:2010-10-23"
# And I should see "Mrs Stanwood's Birthday Party" within "h2.title"
# And I should not see "[Poirot]" within "h2.title"
# And I should see "Mrs Stanwood, famous medical researcher" within "div.summary"
# And I should see "more to their friendship than he'd thought." within "div.summary"
# And I should see "Thanks to Tevildo and phantomphan1990 for beta-reading!"
# And I should see the image "src" text "http://www.rbreu.de/fan/stanwood_title_400.png"
# And I should see "Follow me to AO3"
# And I should not see "rarelitslash"
# And I should not see "rebecca2525"
# And I should not see the image "alt" text "Add to memories!"
# And I should not see the image "alt" text "Next Entry"
# And I should not see "mood"
# And I should not see "Entry tags"
#When I press "Post"
#Then I should see "Work was successfully posted."
#When I am on cosomeone's user page
# Then I should see "Mrs Stanwood's Birthday Party"

@import_lj_underscores
Scenario: Importing from a journal with underscores in the name
Given basic tags
And I am logged in as "cosomeone"
When I go to the import page
And I fill in "urls" with "http://zooey_glass04.livejournal.com/99054.html"
When I press "Import"
Then I should see "Preview"
When "Issue 4817" is fixed
#When I go to the import page
# And I fill in "urls" with "http://zooey_glass04.livejournal.com/99054.html"
#When I press "Import"
# Then I should see "Preview"

@import_lj_multi_chapter
Scenario: Creating a new multichapter work from an LJ story
Given basic tags
And I am logged in as "cosomeone"
When I go to the import page
And I fill in "urls" with
"""
http://rebecca2525.livejournal.com/3562.html
http://rebecca2525.livejournal.com/4024.html
"""
And I choose "import_multiple_chapters"
When I press "Import"
Then I should see "Preview"
And I should see "Lewis" within "dd.fandom"
And I should see "General Audiences" within "dd.rating"
And I should see "Importing Test" within "h2.title"
And I should not see "[FIC]" within "h2.title"
And I should see "Something I made for testing purposes." within "div.summary"
And I should see "Yes, this is really only for testing. :)" within "div.notes"
And I should see "My first paragraph."
And I should see "My second paragraph."
When I press "Post"
Then I should see "Work was successfully posted."
And I should see "Chapters:2/2"
And I should see "Published:2000-01-10"
And I should see "Completed:2000-01-22"
And I should see "My first paragraph."
And I should see "My second paragraph."
When I follow "Next Chapter"
Then I should see "The long awaited second part."
And I should see "And another paragraph."
And I should see "The plot thickens." within "div.summary"
And I should see "MOAR TESTING! :)" within "div.notes"
And I should see "Importing Test Part 2" within "h3.title"
When I am on cosomeone's user page
Then I should see "Importing Test"
When "Issue 4817" is fixed
#When I go to the import page
# And I fill in "urls" with
# """
# http://rebecca2525.livejournal.com/3562.html
# http://rebecca2525.livejournal.com/4024.html
# """
# And I choose "import_multiple_chapters"
#When I press "Import"
#Then I should see "Preview"
# And I should see "Lewis" within "dd.fandom"
# And I should see "General Audiences" within "dd.rating"
# And I should see "Importing Test" within "h2.title"
# And I should not see "[FIC]" within "h2.title"
# And I should see "Something I made for testing purposes." within "div.summary"
# And I should see "Yes, this is really only for testing. :)" within "div.notes"
# And I should see "My first paragraph."
# And I should see "My second paragraph."
#When I press "Post"
#Then I should see "Work was successfully posted."
# And I should see "Chapters:2/2"
# And I should see "Published:2000-01-10"
# And I should see "Completed:2000-01-22"
# And I should see "My first paragraph."
# And I should see "My second paragraph."
#When I follow "Next Chapter"
#Then I should see "The long awaited second part."
# And I should see "And another paragraph."
# And I should see "The plot thickens." within "div.summary"
# And I should see "MOAR TESTING! :)" within "div.notes"
# And I should see "Importing Test Part 2" within "h3.title"
#When I am on cosomeone's user page
# Then I should see "Importing Test"

0 comments on commit 6a5798e

Please sign in to comment.