@open-xchange/appsuite-codeceptjs

0.2.0 • Public • Published

Open-Xchange App Suite: CodeceptJS

This module contains appsuite specific configuration, helpers, page objects and actors for Open-Xchange App Suite.

Configuration

Basic config

// inside codecept.conf.js

module.exports.config = {
'helpers': {
  // other helpers...
      AppSuite: {
        require: './node_modules/@open-xchange/appsuite-codeceptjs/src/helper',
    // AppSuite helpers and actors rely on users array provided via config
    users: [{
      username: 'testuser1',
      password: 'ultimatelySecure',
      mail: 'testuser1@example.com'
    }]
      }
  },
  'include': {
      'I': './node_modules/@open-xchange/appsuite-codeceptjs/src/actor'
  },
};

If you want to have other actor functions bound to the I object, you can extend our actor in another file as follows:

// inside actor.js

module.exports = function () {
const {actor} = require('@open-xchange/appsuite-codeceptjs');
return actor({
  customFunction: function () {
    // do custom stuff
  }
});

};

Readme

Keywords

none

Package Sidebar

Install

npm i @open-xchange/appsuite-codeceptjs

Weekly Downloads

109

Version

0.2.0

License

AGPL-3.0-or-later

Unpacked Size

174 kB

Total Files

48

Last publish

Collaborators

  • tran-dong.tran
  • bjoern.koester
  • hydrair
  • moritz.bach
  • andree
  • anne.matthes
  • johnyb
  • davidbauer
  • solygen
  • daniel.rentz
  • alexquast
  • d.haus
  • maik.schaefer
  • jjacobsohn