承接 nixdrey/wbisualception 相关项目开发

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

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

nixdrey/wbisualception

Composer 安装命令:

composer require nixdrey/wbisualception

包简介

Visual regression tests for Codeception (fork from https://github.com/Codeception/VisualCeption)

README 文档

README

See project documentation here: https://github.com/Codeception/VisualCeption

Installation

composer require "nixdrey/wbisualception:*" --dev

What added?

Pixel ratio support

If you use mobile emulation with custom pixelRatio option you need to define pixelRatio for VisualCeption as well:

acceptance.suite.yml

modules:
    enabled:
        - WebDriver:
             capabilities:
                 ...
                 chromeOptions:
                     ...
                     mobileEmulation:
                         deviceMetrics:
                             height: 812
                             width: 375
                             pixelRatio: 3.0

Just add pixelRatio option

modules:
    enabled:
        - VisualCeption:
            maximumDeviation: 0.05                                 # deviation in percent
            saveCurrentImageIfFailure: false                       # if true, VisualCeption saves the current
            pixelRatio: 3.0                                        # pixel ratio

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2021-09-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固