DNADesign\Elemental\Tests\Behat\Context\FeatureContext
Synopsis
class FeatureContext
extends SilverStripeContext
{
- // members
- protected CmsFormsContext $cmsContext;
- protected BasicContext $basicContext;
- // methods
- public void gatherContexts()
- public void iShouldSeeTheEditFormForBlock()
- public void iShouldSeeAListOfBlocks()
- public void iShouldSeeAnEmptyListOfBlocks()
- public void iShouldSeeBlock()
- public void iClickOnBlock()
- public void iClickOnTheCaretButtonForBlock()
- public void iShouldSeeAsTheTitleForBlock()
- public void iShouldSeeAsTheSummaryForBlock()
- public void iShouldSeeArchiveButtonForBlock()
- public void iShouldSeeThePublishButtonForBlock()
- public void iShouldSeeTheUnpublishButtonForBlock()
- public void iHoverOverBlock()
- public void iHoverOverTheIconOfBlock()
- public void stepIPressTheButtonInTheAddBlockPopover()
- public void stepIPressTheButtonInTheActionMenuForBlock()
- public void stepIFillInForForBlock()
- public void theFieldForBlockShouldContain()
- public void iClickOnTheReport()
- protected array getBlocks()
- protected NodeElement getSpecificBlock()
- protected NodeElement getArchiveButton()
- protected NodeElement|null findPublishButton()
- protected NodeElement|null findUnpublishButton()
- protected NodeElement getCaretButton()
- protected mixed findFieldInBlock()
Hierarchy
Extends
- SilverStripe\BehatExtension\Context\SilverStripeContext
Members
protected
- $basicContext — SilverStripe\BehatExtension\Context\BasicContext
- $cmsContext — SilverStripe\Framework\Tests\Behaviour\CmsFormsContext
Methods
protected
- findFieldInBlock()
- findPublishButton() — Returns the publish button for a specific block if it exists
- findUnpublishButton() — Returns the unpublish button for a specific block if it exists
- getArchiveButton() — Returns the archive button for a specific block
- getBlocks() — Returns the blocks from the element editor
- getCaretButton() — Returns the caret button for a specific block
- getSpecificBlock() — Returns the selected element
public
- gatherContexts()
- iClickOnBlock()
- iClickOnTheCaretButtonForBlock()
- iClickOnTheReport()
- iHoverOverBlock()
- iHoverOverTheIconOfBlock()
- iShouldSeeAListOfBlocks()
- iShouldSeeAnEmptyListOfBlocks()
- iShouldSeeArchiveButtonForBlock()
- iShouldSeeAsTheSummaryForBlock()
- iShouldSeeAsTheTitleForBlock()
- iShouldSeeBlock()
- iShouldSeeTheEditFormForBlock()
- iShouldSeeThePublishButtonForBlock()
- iShouldSeeTheUnpublishButtonForBlock()
- stepIFillInForForBlock()
- stepIPressTheButtonInTheActionMenuForBlock()
- stepIPressTheButtonInTheAddBlockPopover()
- theFieldForBlockShouldContain()