Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@open-xchange/appsuite-codeceptjs

Package Overview
Dependencies
Maintainers
14
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-xchange/appsuite-codeceptjs

OX App Suite CodeceptJS Configuration and Helpers

Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
622
19.85%
Maintainers
14
Weekly downloads
 
Created
Source

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
  }
});

};

FAQs

Package last updated on 16 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts