承接 jungleran/drupal-behat-contexts 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jungleran/drupal-behat-contexts

最新稳定版本:v1.0.0

Composer 安装命令:

composer require jungleran/drupal-behat-contexts

包简介

Additional behat contexts to be used with jhedstrom/drupalextension

README 文档

README

This project contains Behat contexts for Drupal.

What is this repository for?

This Repository is used to extend the default Behat contexts provided by Drupal Behat Extension.

How do I get set up?

Require it through composer and add the required contexts to your behat.yml file.

Context specific configuration options

Some contexts can be configured through the behat.yml file. These configuration options are documented below.

\OrdinaDigitalServices\BrowserContext

BrowserContext resizes the browser window to 1024x768 at the start of each scenario unless specified otherwise. This can be adjusted by adding some configuration in behat.yml like so (config file shortened for brevity):

default:
  suites:
    default:
      contexts:
        - ...
        - OrdinaDigitalServices\BrowserContext:
            resizeOnScenarioStart: false
            defaultWindowSize:
              width: 1920
              height: 1080

As you can see there are two options that can be set. A boolean resizeOnScenarioStart to disable the resizing altogether and an array defaultWindowSize to specify a different default width and/or height.

统计信息

  • 总下载量: 2.39k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-06