Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (36 sloc) 2.061 kB
Feature: Display autocomplete for tags
In order to facilitate posting
I should be getting autocompletes for my tags
Scenario: Only matching canonical tags should appear in autocomplete, and searching for the same data twice should produce same results
Given I am logged in
And a set of tags for testing autocomplete
And I go to the new work page
Then the tag autocomplete fields should list only matching canonical tags
Then the tag autocomplete fields should list only matching canonical tags
Scenario: For fandom-specific autocomplete, if a fandom is entered then only characters/relationships within the fandom should appear in autocomplete
Given I am logged in
And a set of tags for testing autocomplete
And I go to the new work page
Then the fandom-specific tag autocomplete fields should list only fandom-specific canonical tags
Scenario: Bookmark archive work form autocomplete should work
Given I am logged in
And a set of tags for testing autocomplete
When I start a new bookmark
And I enter text in the "Your Tags" autocomplete field
Then I should only see matching canonical tags in the autocomplete
Scenario: Bookmark external work form autocomplete should work
Given I am logged in
And a set of tags for testing autocomplete
And an external work
When I go to the new external work page
Then the tag autocomplete fields should list only matching canonical tags
And the fandom-specific tag autocomplete fields should list only fandom-specific canonical tags
And the external url autocomplete field should list the urls of existing external works
Scenario: Pseud and collection autocompletes should work
Given I am logged in
And a set of collections for testing autocomplete
And a set of users for testing autocomplete
And I go to the new work page
Then the coauthor autocomplete field should list matching users
And the gift recipient autocomplete field should list matching users
And the collection item autocomplete field should list matching collections
Jump to Line
Something went wrong with that request. Please try again.