Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dennisinteractive/behat-google-optimize

Behat context and steps for Google Optimize
https://github.com/dennisinteractive/behat-google-optimize

behat

Last synced: 6 days ago
JSON representation

Behat context and steps for Google Optimize

Awesome Lists containing this project

README

        

# Google Optimize Behat Contexts

## Page Hide
This context disables Google Optimize Page Hide before each `@javascript` scenario, and resets at the end.

### Usage

#### Configure in _behat.yml_
Add `DennisDigital\Behat\GoogleOptimize\Context\PageHideContext` to `contexts`

#### Step definitions

```
@Given Google Optimize Page Hide is reset
@Given Google Optimize Page Hide is disabled
@Given Google Optimize Page Hide is enabled
```