askui 0.28.0 → 0.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UiControlClient } from 'askui';
|
|
2
|
+
{{ allure_stepreporter_import }}
|
|
3
|
+
|
|
4
|
+
// Client is necessary to use the askui API
|
|
5
|
+
// eslint-disable-next-line import/no-mutable-exports
|
|
6
|
+
let aui: UiControlClient;
|
|
7
|
+
|
|
8
|
+
{{ timeout_placeholder }}
|
|
9
|
+
|
|
10
|
+
beforeAll(async () => {
|
|
11
|
+
aui = await UiControlClient.build({
|
|
12
|
+
{{ credentials }}
|
|
13
|
+
{{ reporter_placeholder }}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
await aui.connect();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
beforeEach(async () => {
|
|
20
|
+
await aui.startVideoRecording();
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
afterEach(async () => {
|
|
24
|
+
await aui.stopVideoRecording();
|
|
25
|
+
{{ allure_stepreporter_attach_video }}
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
afterAll(async () => {
|
|
29
|
+
aui.disconnect();
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export { aui };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "askui",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "askui GmbH <info@askui.com> (http://www.askui.com/)",
|
|
6
6
|
"description": "Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on",
|