From 7002dcfa7fdb29c10c5263c47a6a8245a97ffa25 Mon Sep 17 00:00:00 2001 From: Simon Welsh Date: Tue, 18 Mar 2014 08:56:41 +1300 Subject: [PATCH] Assets table just shows the name, not the path --- tests/behat/features/manage-files.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/behat/features/manage-files.feature b/tests/behat/features/manage-files.feature index 4d581d0c..3be1e242 100644 --- a/tests/behat/features/manage-files.feature +++ b/tests/behat/features/manage-files.feature @@ -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"