| 1 |
|
| 2 |
|
| 3 |
import * as dom from "./helpers/dom"; |
| 4 |
import * as events from "./helpers/events"; |
| 5 |
import * as time from "./helpers/time"; |
| 6 |
import { interactor } from "./hoot_dom_utils"; |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
export { |
| 27 |
formatXml, |
| 28 |
getActiveElement, |
| 29 |
getFocusableElements, |
| 30 |
getNextFocusableElement, |
| 31 |
getParentFrame, |
| 32 |
getPreviousFocusableElement, |
| 33 |
isDisplayed, |
| 34 |
isEditable, |
| 35 |
isFocusable, |
| 36 |
isInDOM, |
| 37 |
isInViewPort, |
| 38 |
isScrollable, |
| 39 |
isVisible, |
| 40 |
matches, |
| 41 |
queryAll, |
| 42 |
queryAllAttributes, |
| 43 |
queryAllProperties, |
| 44 |
queryAllRects, |
| 45 |
queryAllTexts, |
| 46 |
queryAllValues, |
| 47 |
queryAny, |
| 48 |
queryAttribute, |
| 49 |
queryFirst, |
| 50 |
queryOne, |
| 51 |
queryRect, |
| 52 |
queryText, |
| 53 |
queryValue, |
| 54 |
} from "./helpers/dom"; |
| 55 |
export { on } from "./helpers/events"; |
| 56 |
export { |
| 57 |
animationFrame, |
| 58 |
cancelAllTimers, |
| 59 |
Deferred, |
| 60 |
delay, |
| 61 |
freezeTime, |
| 62 |
unfreezeTime, |
| 63 |
microTick, |
| 64 |
setFrameRate, |
| 65 |
tick, |
| 66 |
waitUntil, |
| 67 |
} from "./helpers/time"; |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
export const observe = interactor("query", dom.observe); |
| 75 |
export const waitFor = interactor("query", dom.waitFor); |
| 76 |
export const waitForNone = interactor("query", dom.waitForNone); |
| 77 |
|
| 78 |
|
| 79 |
export const check = interactor("interaction", events.check); |
| 80 |
export const clear = interactor("interaction", events.clear); |
| 81 |
export const click = interactor("interaction", events.click); |
| 82 |
export const dblclick = interactor("interaction", events.dblclick); |
| 83 |
export const drag = interactor("interaction", events.drag); |
| 84 |
export const edit = interactor("interaction", events.edit); |
| 85 |
export const fill = interactor("interaction", events.fill); |
| 86 |
export const hover = interactor("interaction", events.hover); |
| 87 |
export const keyDown = interactor("interaction", events.keyDown); |
| 88 |
export const keyUp = interactor("interaction", events.keyUp); |
| 89 |
export const leave = interactor("interaction", events.leave); |
| 90 |
export const manuallyDispatchProgrammaticEvent = interactor("interaction", events.dispatch); |
| 91 |
export const middleClick = interactor("interaction", events.middleClick); |
| 92 |
export const pointerDown = interactor("interaction", events.pointerDown); |
| 93 |
export const pointerUp = interactor("interaction", events.pointerUp); |
| 94 |
export const press = interactor("interaction", events.press); |
| 95 |
export const resize = interactor("interaction", events.resize); |
| 96 |
export const rightClick = interactor("interaction", events.rightClick); |
| 97 |
export const scroll = interactor("interaction", events.scroll); |
| 98 |
export const select = interactor("interaction", events.select); |
| 99 |
export const setInputFiles = interactor("interaction", events.setInputFiles); |
| 100 |
export const setInputRange = interactor("interaction", events.setInputRange); |
| 101 |
export const uncheck = interactor("interaction", events.uncheck); |
| 102 |
export const unload = interactor("interaction", events.unload); |
| 103 |
|
| 104 |
|
| 105 |
export const advanceFrame = interactor("time", time.advanceFrame); |
| 106 |
export const advanceTime = interactor("time", time.advanceTime); |
| 107 |
export const runAllTimers = interactor("time", time.runAllTimers); |
| 108 |
|
| 109 |
|
| 110 |
export { exposeHelpers } from "./hoot_dom_utils"; |