MCPcopy Index your code
hub / github.com/angular-split/angular-split / moveGutterByKeyboard

Function moveGutterByKeyboard

cypress/support/splitUtils.js:16–21  ·  view source on GitHub ↗
(gutters, num, numKeyPresses, keySequence)

Source from the content-addressed store, hash-verified

14}
15
16export function moveGutterByKeyboard(gutters, num, numKeyPresses, keySequence) {
17 for (let i = 0; i < numKeyPresses; i++) {
18 cy.get(gutters).eq(num).focus().type(`{${keySequence}}`)
19 cy.wait(10)
20 }
21}
22
23export function checkGutterAriaLabel(gutters, num, ariaLabel) {
24 cy.get(gutters).eq(num).should('have.attr', 'aria-label').and('equal', ariaLabel)

Callers 2

1.simple.cy.jsFile · 0.90
2.minmax.cy.jsFile · 0.90

Calls 1

typeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…