function clickScalarCardTitle(card_name) {
  cy.get(".Scalar-title")
    .contains(card_name)
    .click();
}
// That's why we don't have to wait for a specific XHR, but this works only for SCALAR questions.
That's why we don't have to wait for a specific XHR, but this works only for SCALAR questions.
That ' s why we don ' t have to wait for a specific XHR but this works only for SCALAR questions .
function clickScalarCardTitle(card_name) {
  cy.get(".Scalar-title")
    .contains(card_name)
    .click();
}
function clickScalarCardTitle ( card_name ) { cy . get ( ".Scalar-title" ) . contains ( card_name ) . click ( ) ; }
That's why we don't have to wait for a specific XHR, but this works only for SCALAR questions.
That ' s why we don ' t have to wait for a specific XHR but this works only for SCALAR questions .