mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2255 from open-sausages/pulls/4/a-test-for-another-time
Disable page search test scenarios involving date due to localisation issue
This commit is contained in:
commit
d0cd066ab8
@ -26,23 +26,25 @@ Feature: Search for a page
|
|||||||
Then I should see "My Virtual Page" in the cms list
|
Then I should see "My Virtual Page" in the cms list
|
||||||
But I should not see "Contact Us" in the cms list
|
But I should not see "Contact Us" in the cms list
|
||||||
|
|
||||||
Scenario: I can search for a page by its oldest last edited date
|
# BUG: https://github.com/silverstripe/silverstripe-admin/issues/631
|
||||||
Given a "page" "Recent Page"
|
# Scenario: I can search for a page by its oldest last edited date
|
||||||
And a "page" "Old Page" was last edited "7 days ago"
|
# Given a "page" "Recent Page"
|
||||||
When I press the "Advanced" button
|
# And a "page" "Old Page" was last edited "7 days ago"
|
||||||
And I fill in "From" with "the date of 5 days ago"
|
# When I press the "Advanced" button
|
||||||
And I press the "Search" button
|
# And I fill in "From" with "the date of 5 days ago"
|
||||||
Then I should see "Recent Page" in the cms list
|
# And I press the "Search" button
|
||||||
But I should not see "Old Page" in the cms list
|
# Then I should see "Recent Page" in the cms list
|
||||||
|
# But I should not see "Old Page" in the cms list
|
||||||
|
|
||||||
Scenario: I can search for a page by its newest last edited date
|
# BUG: https://github.com/silverstripe/silverstripe-admin/issues/631
|
||||||
Given a "page" "Recent Page"
|
# Scenario: I can search for a page by its newest last edited date
|
||||||
And a "page" "Old Page" was last edited "7 days ago"
|
# Given a "page" "Recent Page"
|
||||||
When I press the "Advanced" button
|
# And a "page" "Old Page" was last edited "7 days ago"
|
||||||
And I fill in "To" with "the date of 5 days ago"
|
# When I press the "Advanced" button
|
||||||
And I press the "Search" button
|
# And I fill in "To" with "the date of 5 days ago"
|
||||||
Then I should not see "Recent Page" in the cms list
|
# And I press the "Search" button
|
||||||
But I should see "Old Page" in the cms list
|
# Then I should not see "Recent Page" in the cms list
|
||||||
|
# But I should see "Old Page" in the cms list
|
||||||
|
|
||||||
Scenario: I can include deleted pages in my search
|
Scenario: I can include deleted pages in my search
|
||||||
Given a "page" "Deleted Page"
|
Given a "page" "Deleted Page"
|
||||||
|
Loading…
Reference in New Issue
Block a user