(label, item)
| 249 | } |
| 250 | |
| 251 | function selectDropdownItem(label, item) { |
| 252 | cy.contains('[role="button"]', label).as('dropDownButton'); |
| 253 | cy.get('@dropDownButton') |
| 254 | .parent() |
| 255 | .within(() => { |
| 256 | cy.get('@dropDownButton').click(); |
| 257 | cy.contains('[role="menuitem"] span', item).click(); |
| 258 | }); |
| 259 | } |
| 260 | |
| 261 | function flushClockAndSave() { |
| 262 | withExistingClock(clock => { |
no test coverage detected