(gutters, ariaValueTexts)
| 25 | } |
| 26 | |
| 27 | export function checkGuttersAriaValueTexts(gutters, ariaValueTexts) { |
| 28 | cy.get(gutters).each(($gutter, index) => { |
| 29 | const ariaValueText = ariaValueTexts[index] |
| 30 | if (ariaValueText === null) { |
| 31 | cy.wrap($gutter).should('not.have.attr', 'aria-valuetext') |
| 32 | } else { |
| 33 | cy.wrap($gutter).should('have.attr', 'aria-valuetext').and('equal', ariaValueTexts[index]) |
| 34 | } |
| 35 | }) |
| 36 | } |
| 37 | |
| 38 | ////////////////////////////////////////// |
| 39 |
no outgoing calls
no test coverage detected
searching dependent graphs…