UNPKG

1.39 kBJavaScriptView Raw
1import { deprecate } from '@ember/application/deprecations';
2
3import {
4 alias,
5 attribute,
6 blurrable,
7 clickOnText,
8 clickable,
9 collection,
10 contains,
11 count,
12 create,
13 fillable,
14 focusable,
15 hasClass,
16 is,
17 isHidden,
18 isPresent,
19 isVisible,
20 notHasClass,
21 property,
22 text,
23 triggerable,
24 value,
25 visitable
26} from 'ember-cli-page-object';
27
28export {
29 alias,
30 attribute,
31 clickOnText,
32 clickable,
33 collection,
34 contains,
35 count,
36 create,
37 fillable,
38 fillable as selectable,
39 focusable,
40 hasClass,
41 is,
42 isHidden,
43 isPresent,
44 isVisible,
45 notHasClass,
46 property,
47 text,
48 triggerable,
49 value,
50 visitable
51};
52
53export default {
54 alias,
55 attribute,
56 blurrable,
57 clickOnText,
58 clickable,
59 collection,
60 contains,
61 count,
62 create,
63 fillable,
64 focusable,
65 hasClass,
66 is,
67 isHidden,
68 isPresent,
69 isVisible,
70 notHasClass,
71 property,
72 selectable: fillable,
73 text,
74 triggerable,
75 value,
76 visitable
77};
78
79export { buildSelector, findElementWithAssert, findElement, getContext, fullScope } from 'ember-cli-page-object';
80
81deprecate(`Importing from "test-support" is now deprecated. Please import directly from the "ember-cli-page-object" module instead.`, false, {
82 id: 'ember-cli-page-object.import-from-test-support',
83 until: '2.0.0',
84 url: 'https://ember-cli-page-object.js.org/docs/v1.16.x/deprecations/#import-from-test-support',
85})