Assets table just shows the name, not the path

This commit is contained in:
Simon Welsh 2014-03-18 08:56:41 +13:00
parent 403b47fe6c
commit 7002dcfa7f

View File

@ -65,13 +65,13 @@ Feature: Manage files
Given I expand the "Filter" CMS Panel
And I fill in "Name" with "file1"
And I press the "Apply Filter" button
Then I should see "assets/folder1/file1.jpg"
And I should not see "assets/folder1/file2.jpg"
Then the "Files" table should contain "file1"
And the "Files" table should not contain "file2"
Scenario: I can filter the files list view using filetype
Given a "file" "assets/document.pdf"
And I expand the "Filter" CMS Panel
And I select "Image" from "File type"
And I press the "Apply Filter" button
Then I should see "assets/folder1/file1.jpg"
And I should not see "assets/document.pdf"
Then the "Files" table should contain "file1"
And the "Files" table should not contain "document"