SilverStripe\AssetAdmin\Tests\Behat\Context\FixtureContext
Context used to create fixtures in the SilverStripe ORM.
Synopsis
class FixtureContext
extends FixtureContext
{
- // methods
- public void stepISelectGalleryItem()
- public void stepICheckTheGalleryItem()
- public void iShouldSeeTheGalleryItem()
- public void iShouldNotSeeTheGalleryItem()
- public void iShouldSeeTheForm()
- public void iShouldSeeTheFileStatusFlag()
- public void iShouldNotSeeTheFileStatusFlag()
- public void iShouldSeeTheFileStatusIconWithTheClass()
- public void iShouldNotSeeTheFileStatusIconWithTheClass()
- public void iClickOnTheLatestHistoryItem()
- public void iAttachTheFileToDropzone()
- public void iShouldSeeAnErrorMessageOnTheFile()
- public void assertMessageBoxContainsText()
- protected NodeElement getGalleryItem()
- protected NodeElement getTableGalleryFolderByRank()
- protected NodeElement getGalleryItemByRank()
- public void aPageContaining()
- public void iShouldSeeAModalTitled()
- public void iPressButtonInModal()
- public void iShouldSeeTheGalleryItemInPosition()
- public void iShouldSeeTheTableGalleryFolderInPosition()
- public void iSelectTheImageInHtmlField()
- protected NodeElement getHtmlField()
- public void iScrollTheEditorDetailsPanelToTheTop()
Hierarchy
Extends
- SilverStripe\BehatExtension\Context\FixtureContext
Uses
- SilverStripe\BehatExtension\Utility\StepHelper
Tasks
Line | Task |
---|---|
88 | This should wait for any XHRs and React rendering to finish |
105 | Flakey assertion, since the status flag might not be loaded via XHR yet |
Methods
protected
- getGalleryItem() — Helper for finding items in the visible gallery view
- getGalleryItemByRank() — Helper for finding items in the visible gallery view by its order
- getHtmlField() — Locate an HTML editor field
- getTableGalleryFolderByRank() — Helper for finding items in the visible table gallery view by its order
public
- aPageContaining()
- assertMessageBoxContainsText() — Checks that the message box contains specified text.
- iAttachTheFileToDropzone()
- iClickOnTheLatestHistoryItem()
- iPressButtonInModal()
- iScrollTheEditorDetailsPanelToTheTop()
- iSelectTheImageInHtmlField() — Selects the first image match in the HTML editor (tinymce)
- iShouldNotSeeTheFileStatusFlag()
- iShouldNotSeeTheFileStatusIconWithTheClass()
- iShouldNotSeeTheGalleryItem()
- iShouldSeeAModalTitled()
- iShouldSeeAnErrorMessageOnTheFile()
- iShouldSeeTheFileStatusFlag()
- iShouldSeeTheFileStatusIconWithTheClass()
- iShouldSeeTheForm()
- iShouldSeeTheGalleryItem()
- iShouldSeeTheGalleryItemInPosition()
- iShouldSeeTheTableGalleryFolderInPosition()
- stepICheckTheGalleryItem() — Check the checkbox for a given gallery item
- stepISelectGalleryItem() — Select a gallery item by type and name