function _clearAndIterativelyTypeUsingLabel(label, string) {
  cy.findByLabelText(label)
    .click()
    .clear();

  for (const char of string) {
    cy.findByLabelText(label).type(char);
  }
}
// this is needed for fields where autocomplete suggestions are enabled
this is needed for fields where autocomplete suggestions are enabled
this is needed for fields where autocomplete suggestions are enabled
function _clearAndIterativelyTypeUsingLabel(label, string) {
  cy.findByLabelText(label)
    .click()
    .clear();
  for (const char of string) {
    cy.findByLabelText(label).type(char);
  }
}
function _clearAndIterativelyTypeUsingLabel ( label , string ) { cy . findByLabelText ( label ) . click ( ) . clear ( ) ; for ( const char of string ) { cy . findByLabelText ( label ) . type ( char ) ; } }
this is needed for fields where autocomplete suggestions are enabled
this is needed for fields where autocomplete suggestions are enabled