Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
fillWithDataAndSubmit(data) {
helper.fillFieldWithText(this.nameField, data.name);
helper.fillFieldWithText(this.descriptionField, data.description);
helper.fillFieldWithText(this.imageUrlField, data.imageUrlValue);
helper.click(this.submitButton);
}
}
fillWithDataAndSubmit(data) {
helper.fillFieldWithText(this.nameField, data.name);
helper.fillFieldWithText(this.descriptionField, data.description);
helper.fillFieldWithText(this.imageUrlField, data.imageUrlValue);
helper.click(this.submitButton);
}
}
fillWithDataAndSubmit(data) {
helper.fillFieldWithText(this.nameField, data.name);
helper.fillFieldWithText(this.descriptionField, data.description);
helper.fillFieldWithText(this.imageUrlField, data.imageUrlValue);
helper.click(this.submitButton);
}
}
beforeEach(() =>
helper.fillFieldWithText(
createImagePage.form.imageUrlField,
imageUrlValue
)
);