aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/steps/genericForm/genericFormAction.steps.ts
blob: 9786369cf5ae7de7540114465a1d209f1d99e3e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
declare namespace Cypress {
  interface Chainable {
    genericFormSubmitForm: typeof genericFormSubmitForm
  }
}

function genericFormSubmitForm() : Chainable<any>  {
  return  cy.getElementByDataTestsId('form-set').click({force: true});
}


Cypress.Commands.add('genericFormSubmitForm', genericFormSubmitForm);