drevops / behat-steps

🧪 A collection of Behat step definitions for Drupal
GNU General Public License v3.0
18 stars 13 forks source link

Added beforeStep for adding big pipe cookie. #133

Closed richardgaunt closed 1 year ago

richardgaunt commented 1 year ago

Issue link: https://github.com/drevops/behat-steps/issues/132

Background Bigpipe trait adds nojs cookie on a BeforeScenario hook but when we log into sessions within a scenario, cookies are cleared with the new session.

What has changed

  1. Changed BeforeScenario to a check for whether bigpipe is turned on and whether we are using a JS capable driver
  2. Added a BeforeStep hook to set the cookie if required
richardgaunt commented 1 year ago

Looks like an access issue in CI

AlexSkrypnyk commented 1 year ago

@richardgaunt thank you for contribution. could you please rebase this PR.