mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Behat: Replace @database-defaults with explicit fixtures
This commit is contained in:
parent
e7cc08f6ae
commit
47d7a19a23
@ -1,4 +1,3 @@
|
||||
@database-defaults
|
||||
Feature: Create a page
|
||||
As an author
|
||||
I want to create a page in the CMS
|
||||
|
@ -1,10 +1,10 @@
|
||||
@database-defaults
|
||||
Feature: Edit a page
|
||||
As an author
|
||||
I want to edit a page in the CMS
|
||||
So that I correct errors and provide new information
|
||||
|
||||
Background:
|
||||
Given a page "About Us"
|
||||
Given I am logged in with "ADMIN" permissions
|
||||
And I go to "/admin/pages"
|
||||
Then I should see "About Us" in CMS Tree
|
||||
|
@ -1,9 +1,11 @@
|
||||
@database-defaults
|
||||
Feature: Preview a page
|
||||
As an author
|
||||
I want to preview the page I'm editing in the CMS
|
||||
So that I can see how it would look like to my visitors
|
||||
|
||||
Background:
|
||||
Given a page "About Us"
|
||||
|
||||
@javascript
|
||||
Scenario: I can show a preview of the current page from the pages section
|
||||
Given I am logged in with "ADMIN" permissions
|
||||
|
@ -1,9 +1,12 @@
|
||||
@database-defaults
|
||||
Feature: Search for a page
|
||||
As an author
|
||||
I want to search for a page in the CMS
|
||||
So that I can efficiently navigate nested content structures
|
||||
|
||||
Background:
|
||||
Given a page "About Us"
|
||||
And a page "Contact Us"
|
||||
|
||||
@javascript
|
||||
Scenario: I can search for a page by its title
|
||||
Given I am logged in with "ADMIN" permissions
|
||||
|
Loading…
Reference in New Issue
Block a user