cumulocity-cypress
Version:
Cypress commands for Cumulocity IoT
12 lines (8 loc) • 418 B
JavaScript
// use javascript instead of typescript to avoid typescript compilation
const registerCypressGrep = require('@cypress/grep')
registerCypressGrep();
const { C8yScreenshotRunner } = require("./../runner");
// undefined is passed as config, so the runner will look for the configuration
// in the environment variables created by startup script.
const c8yscrn = new C8yScreenshotRunner(undefined);
c8yscrn.runSuite();