承接 polevaultweb/codeception-helpscout 相关项目开发

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

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

polevaultweb/codeception-helpscout

Composer 安装命令:

composer require polevaultweb/codeception-helpscout

包简介

Help Scout module for Codeception

README 文档

README

A Help Scout email module for Codeception.

Installation

You need to add the repository into your composer.json file

    composer require --dev polevaultweb/codeception-helpscout

Usage

You can use this module as any other Codeception module, by adding 'HelpScout' to the enabled modules in your Codeception suite configurations.

Add Drip to your list of modules

modules:
    enabled:
        - HelpScout

Setup the configuration variables

    config:
        HelpScout:
            app_id: '%HELPSCOUT_APP_ID%'
            app_secret: '%HELPSCOUT_APP_SECRET%'

Update Codeception build

codecept build

Supports

This Codeception Module implements the required methods to test emails using the Codeception Email Testing Framework with Help Scout

Added Methods

This Module adds a few public methods for the user, such as:

dontHaveEmailEmail()

Deletes an email in Help Scout

fetchEmails()

Fetches all conversations from Help Scout, and assigns them to the current and unread inboxes

openNextUnreadEmail()

Pops the most recent unread email and assigns it as the email to conduct tests on

waitForEmailFromSender() Waits for an email to arrive from a specific email address

Usage

$I = new AcceptanceTester( $scenario );

$I->fetchEmails( 12345 );
$I->openNextUnreadEmail();
$I->seeInOpenedEmailSubject( 'Thank you' );
$I->seeInOpenedEmailSender( 'john@doe.com' );
$I->seeInOpenedEmailBody( 'Hey, thanks for the great product' );

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固