mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
Adding AdminAssets filter Behat tests
This commit is contained in:
parent
311e0d0ede
commit
3f28d72065
@ -60,3 +60,18 @@ Feature: Manage files
|
|||||||
When I go to "/admin/assets/add"
|
When I go to "/admin/assets/add"
|
||||||
And I follow "Show allowed extensions"
|
And I follow "Show allowed extensions"
|
||||||
Then I should see "png,"
|
Then I should see "png,"
|
||||||
|
|
||||||
|
Scenario: I can filter the files list view using name
|
||||||
|
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"
|
||||||
|
|
||||||
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user