-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathSyntheticsStepType.ts
64 lines (61 loc) · 2.21 KB
/
SyntheticsStepType.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/**
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2020-Present Datadog, Inc.
*/
import { UnparsedObject } from "../../datadog-api-client-common/util";
/**
* Step type used in your Synthetic test.
*/
export type SyntheticsStepType =
| typeof ASSERT_CURRENT_URL
| typeof ASSERT_ELEMENT_ATTRIBUTE
| typeof ASSERT_ELEMENT_CONTENT
| typeof ASSERT_ELEMENT_PRESENT
| typeof ASSERT_EMAIL
| typeof ASSERT_FILE_DOWNLOAD
| typeof ASSERT_FROM_JAVASCRIPT
| typeof ASSERT_PAGE_CONTAINS
| typeof ASSERT_PAGE_LACKS
| typeof CLICK
| typeof EXTRACT_FROM_JAVASCRIPT
| typeof EXTRACT_VARIABLE
| typeof GO_TO_EMAIL_LINK
| typeof GO_TO_URL
| typeof GO_TO_URL_AND_MEASURE_TTI
| typeof HOVER
| typeof PLAY_SUB_TEST
| typeof PRESS_KEY
| typeof REFRESH
| typeof RUN_API_TEST
| typeof SCROLL
| typeof SELECT_OPTION
| typeof TYPE_TEXT
| typeof UPLOAD_FILES
| typeof WAIT
| UnparsedObject;
export const ASSERT_CURRENT_URL = "assertCurrentUrl";
export const ASSERT_ELEMENT_ATTRIBUTE = "assertElementAttribute";
export const ASSERT_ELEMENT_CONTENT = "assertElementContent";
export const ASSERT_ELEMENT_PRESENT = "assertElementPresent";
export const ASSERT_EMAIL = "assertEmail";
export const ASSERT_FILE_DOWNLOAD = "assertFileDownload";
export const ASSERT_FROM_JAVASCRIPT = "assertFromJavascript";
export const ASSERT_PAGE_CONTAINS = "assertPageContains";
export const ASSERT_PAGE_LACKS = "assertPageLacks";
export const CLICK = "click";
export const EXTRACT_FROM_JAVASCRIPT = "extractFromJavascript";
export const EXTRACT_VARIABLE = "extractVariable";
export const GO_TO_EMAIL_LINK = "goToEmailLink";
export const GO_TO_URL = "goToUrl";
export const GO_TO_URL_AND_MEASURE_TTI = "goToUrlAndMeasureTti";
export const HOVER = "hover";
export const PLAY_SUB_TEST = "playSubTest";
export const PRESS_KEY = "pressKey";
export const REFRESH = "refresh";
export const RUN_API_TEST = "runApiTest";
export const SCROLL = "scroll";
export const SELECT_OPTION = "selectOption";
export const TYPE_TEXT = "typeText";
export const UPLOAD_FILES = "uploadFiles";
export const WAIT = "wait";