You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
464 B
JavaScript

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*/
Cypress.Commands.add('imageGenerator', (directory, fileName, width, height, color, posX, posY, message, count) => {
return cy.task('imageGenerator', {
directory: directory,
fileName: fileName,
width: width,
height: height,
color: color,
posX: posX,
posY: posY,
message: message,
count: count,
});
});