1.0.14 • Published 3 years ago

dom-testing v1.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

dom-testing

A javascript library for dom operation test

Install

npm install -D dom-testing

or

yarn add -D dom-testing

Usage

import {
  clickButton,
  inputString,
  syncTest,
  matchElement,
  testSleep,
  scroll
} from "../lib/dom-test/lib/dom-test";

syncTest([
      inputString.bind(null, "element id", "test@xxx.com"),
      inputString.bind(null, "element id", "123456"),
      clickButton.bind(null, "element id"),
    ]);

syncTest([
      matchElement.bind(null, "element id", "expect string"),
      testSleep.bind(null, "sleeptime"),
      scroll.bind(null, x, y),
])

License

MIT

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago