Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

81 lines (79 sloc) 3.654 kb
@works
Feature: Import Works from deviantart
In order to have an archive full of works
As an author
I want to create new works by importing them from deviantart
@import_da_title_link
Scenario: Creating a new art work from a deviantart title link with automatic metadata
Given basic tags
And I am logged in as "cosomeone"
When I go to the import page
And I fill in "urls" with "http://bingeling.deviantart.com/art/Flooded-45971613"
When I press "Import"
Then I should see "Preview"
And I should find "Flooded_by_bingeling.jpg" within "img[src]"
And I should see "Digital Art" within "dd.freeform"
And I should see "People" within "dd.freeform"
And I should see "Vector" within "dd.freeform"
And I should see "Published:2007-01-04"
And I should see "Flooded" within "h2.title"
And I should see "done with Photoshop 7" within "div.notes"
And I should see "but they were definitely helpful" within "div.notes"
And I should not see "deviant"
And I should not see "bingeling"
And I should not see "Visit the Artist"
And I should not see "Download Image"
When I press "Post"
Then I should see "Work was successfully posted."
When I am on cosomeone's user page
#'
Then I should see "Flooded"
# @import_da_gallery_link
# Scenario: TODO: Creating a new art work from a deviantart gallery link with automatic metadata
# Given basic tags
# And I am logged in as "cosomeone"
# When I go to the import page
# And I fill in "urls" with "http://bingeling.deviantart.com/gallery/#/drdbx9"
# When I press "Import"
# Then I should see "Preview"
# And I should find "Flooded_by_bingeling.jpg" within "img[src]"
# And I should see "Digital Art" within "dd.freeform"
# And I should see "People" within "dd.freeform"
# And I should see "Vector" within "dd.freeform"
# And I should see "Published:2007-01-04"
# And I should see "Flooded" within "h2.title"
# And I should see "done with Photoshop 7" within "div.notes"
# And I should see "but they were definitely helpful" within "div.notes"
# And I should not see "deviant"
# And I should not see "bingeling"
# And I should not see "Visit the Artist"
# And I should not see "Download Image"
# When I press "Post"
# Then I should see "Work was successfully posted."
# When I am on cosomeone's user page
# #'
# Then I should see "Flooded"
@import_da_fic
Scenario: Creating a new fic from an deviantart
Given basic tags
And I am logged in as "cosomeone"
When I go to the import page
And I fill in "urls" with "http://cesy12.deviantart.com/art/AO3-testing-text-196158032"
When I press "Import"
Then I should see "Preview"
And I should see "Scraps" within "dd.freeform"
And I should see "Published:2011-02-04"
And I should see "AO3 testing text" within "h2.title"
And I should see "This is the description of the story above." within "div.notes"
And I should see "This is a text, like a story or something."
And I should see "Complete with some paragraphs."
And I should not see "deviant"
And I should not see "cesy"
And I should not see "AO3 testing text" within "#chapters"
And I should not see "Visit the Artist"
And I should not see "Download File"
When I press "Post"
Then I should see "Work was successfully posted."
When I am on cosomeone's user page
#'
Then I should see "AO3 testing text"
Jump to Line
Something went wrong with that request. Please try again.