How to use the @instructure/ui-test-utils.find function in @instructure/ui-test-utils

To help you get started, we’ve selected a few @instructure/ui-test-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github instructure / instructure-ui / packages / ui-buttons / src / Button / locator.js View on Github external
click: async (element, ...args) => {
    return (await find(element, 'a,button,[role="button"]')).click(...args)
  }
})
github instructure / instructure-ui / packages / ui-pagination / src / Pagination / PaginationArrowButton / locator.js View on Github external
click: async (element, ...args) => {
    return (await find(element, 'a,button,[role="button"]')).click(...args)
  }
})
github instructure / instructure-ui / packages / ui-elements / src / components / Link / locator.js View on Github external
click: async (element, ...args) => {
    return (await find(element, 'a,button,[role="button"]')).click(...args)
  }
})

@instructure/ui-test-utils

A UI testing library made by Instructure Inc.

MIT
Latest version published 4 days ago

Package Health Score

84 / 100
Full package analysis

Popular @instructure/ui-test-utils functions

Similar packages