@camunda/e2e-test-suite 0.0.446 → 0.0.448
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.
|
@@ -109,9 +109,11 @@ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, proc
|
|
|
109
109
|
if (resultVariable.length > 0) {
|
|
110
110
|
await connectorSettingsPage.clickResultVariableInput();
|
|
111
111
|
await connectorSettingsPage.fillResultVariableInput('result');
|
|
112
|
+
await (0, sleep_1.sleep)(3000);
|
|
112
113
|
}
|
|
113
114
|
await connectorSettingsPage.clickResultExpressionInput();
|
|
114
115
|
await connectorSettingsPage.fillResultExpressionInput(resultExpression);
|
|
116
|
+
await (0, sleep_1.sleep)(3000);
|
|
115
117
|
await modelerCreatePage.clickAppendElementButton();
|
|
116
118
|
await modelerCreatePage.clickAppendEndEventButton();
|
|
117
119
|
await (0, sleep_1.sleep)(10000);
|
|
@@ -16,10 +16,11 @@ const OptimizeReportPage_1 = require("../../pages/8.10/OptimizeReportPage");
|
|
|
16
16
|
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
17
17
|
const users_1 = require("../../utils/users");
|
|
18
18
|
const sleep_1 = require("../../utils/sleep");
|
|
19
|
+
const constants_1 = require("../../utils/constants");
|
|
19
20
|
const testUser = (0, users_1.getTestUser)('thirteenthUser');
|
|
21
|
+
const CLUSTER_NAME = 'Test Cluster';
|
|
20
22
|
_8_10_1.test.describe.configure({ mode: 'parallel' });
|
|
21
23
|
_8_10_1.test.describe('Smoke Tests', () => {
|
|
22
|
-
const clusterName = 'Test Cluster';
|
|
23
24
|
_8_10_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
24
25
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
|
|
25
26
|
});
|
|
@@ -28,41 +29,45 @@ _8_10_1.test.describe('Smoke Tests', () => {
|
|
|
28
29
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
29
30
|
});
|
|
30
31
|
(0, _8_10_1.test)('Most Common Flow User Flow With All Apps', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }) => {
|
|
32
|
+
_8_10_1.test.slow();
|
|
31
33
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
32
34
|
const formName = 'New form' + randomString;
|
|
33
35
|
const processName = 'Zeebe_User_Task_Process' + randomString;
|
|
34
36
|
const userTaskName = 'zeebeUserTaskWithForm' + randomString;
|
|
35
37
|
const reportName = await (0, _setup_1.generateRandomStringAsync)(5);
|
|
38
|
+
let appTab;
|
|
36
39
|
await _8_10_1.test.step('Navigate to Web Modeler', async () => {
|
|
37
40
|
await (0, test_1.expect)(homePage.camundaComponentsButton).toBeVisible({
|
|
38
|
-
timeout:
|
|
41
|
+
timeout: constants_1.TIMEOUT.medium,
|
|
39
42
|
});
|
|
40
43
|
await appsPage.clickCamundaApps();
|
|
41
44
|
await appsPage.clickModeler();
|
|
42
45
|
await (0, test_1.expect)(modelerHomePage.modelerPageBanner).toBeVisible({
|
|
43
|
-
timeout:
|
|
46
|
+
timeout: constants_1.TIMEOUT.navigation,
|
|
44
47
|
});
|
|
45
48
|
});
|
|
46
|
-
await _8_10_1.test.step('Create
|
|
49
|
+
await _8_10_1.test.step('Create form to be linked for Zeebe user task', async () => {
|
|
47
50
|
await modelerHomePage.clickCrossComponentProjectFolder();
|
|
48
51
|
await modelerHomePage.clickDiagramTypeDropdown();
|
|
49
52
|
await modelerHomePage.clickFormOption();
|
|
50
53
|
await modelerHomePage.enterFormName(formName);
|
|
51
54
|
await modelerHomePage.assertFormBreadcrumbVisible(formName);
|
|
52
|
-
await formJsPage.deployForm(
|
|
55
|
+
await formJsPage.deployForm(CLUSTER_NAME);
|
|
56
|
+
// Wait for the form to propagate to the cluster before it can be embedded
|
|
53
57
|
await (0, sleep_1.sleep)(5000);
|
|
54
58
|
});
|
|
55
|
-
await _8_10_1.test.step('Add
|
|
59
|
+
await _8_10_1.test.step('Add a BPMN template to the project', async () => {
|
|
56
60
|
await modelerHomePage.clickProjectBreadcrumb();
|
|
57
61
|
await modelerHomePage.clickDiagramTypeDropdown();
|
|
58
62
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
59
63
|
});
|
|
60
|
-
await _8_10_1.test.step('Create BPMN
|
|
64
|
+
await _8_10_1.test.step('Create BPMN diagram with two Zeebe user tasks', async () => {
|
|
61
65
|
await (0, test_1.expect)(modelerCreatePage.generalPanel).toBeVisible({
|
|
62
|
-
timeout:
|
|
66
|
+
timeout: constants_1.TIMEOUT.navigation,
|
|
63
67
|
});
|
|
64
68
|
await modelerCreatePage.enterDiagramName(processName);
|
|
65
69
|
await modelerCreatePage.assertDiagramNameSet(processName);
|
|
70
|
+
// Wait for the diagram name change to auto-save before interacting with the canvas
|
|
66
71
|
await (0, sleep_1.sleep)(10000);
|
|
67
72
|
await modelerCreatePage.clickCanvas();
|
|
68
73
|
await modelerCreatePage.clickGeneralPropertiesPanel();
|
|
@@ -79,120 +84,138 @@ _8_10_1.test.describe('Smoke Tests', () => {
|
|
|
79
84
|
await modelerCreatePage.clickForm(formName);
|
|
80
85
|
await modelerCreatePage.clickEmbedButton();
|
|
81
86
|
await modelerCreatePage.assertFormEmbedded();
|
|
82
|
-
await modelerCreatePage.runProcessInstance(clusterName);
|
|
83
87
|
});
|
|
84
|
-
await _8_10_1.test.step('
|
|
88
|
+
await _8_10_1.test.step('Deploy and start process instance', async () => {
|
|
89
|
+
await modelerCreatePage.runProcessInstance(CLUSTER_NAME);
|
|
85
90
|
await (0, test_1.expect)(modelerCreatePage.viewProcessInstanceLink).toBeVisible({
|
|
86
|
-
timeout:
|
|
91
|
+
timeout: constants_1.TIMEOUT.navigation,
|
|
87
92
|
});
|
|
93
|
+
});
|
|
94
|
+
await _8_10_1.test.step('Open process instance in Operate and verify it is active', async () => {
|
|
88
95
|
await modelerCreatePage.clickViewProcessInstanceLink();
|
|
89
|
-
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
appTab = await page.waitForEvent('popup', { timeout: constants_1.TIMEOUT.navigation });
|
|
97
|
+
const appTabProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(appTab);
|
|
98
|
+
await (0, test_1.expect)(appTabProcessInstancePage.activeIcon).toBeVisible({
|
|
99
|
+
timeout: constants_1.TIMEOUT.processActive,
|
|
100
|
+
});
|
|
101
|
+
await appTabProcessInstancePage.closePopOverIfVisible();
|
|
102
|
+
});
|
|
103
|
+
await _8_10_1.test.step('Navigate to Tasklist and complete both user tasks', async () => {
|
|
104
|
+
const appTabAppsPage = new AppsPage_1.AppsPage(appTab);
|
|
105
|
+
const appTabTaskPanelPage = new TaskPanelPage_1.TaskPanelPage(appTab);
|
|
106
|
+
const appTabTaskDetailsPage = new TaskDetailsPage_1.TaskDetailsPage(appTab);
|
|
107
|
+
await appTabAppsPage.clickCamundaApps();
|
|
108
|
+
await appTabAppsPage.clickTasklist(CLUSTER_NAME);
|
|
109
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(appTabTaskPanelPage, appTabTaskDetailsPage, `${userTaskName}1`, 'Medium');
|
|
110
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(appTabTaskPanelPage, appTabTaskDetailsPage, `${userTaskName}2`, 'Medium');
|
|
111
|
+
await appTabTaskPanelPage.filterBy('Completed');
|
|
112
|
+
await appTabTaskPanelPage.openTask(`${userTaskName}1`);
|
|
113
|
+
await (0, test_1.expect)(appTabTaskDetailsPage.detailsInfo.getByText(`${userTaskName}1`)).toBeVisible({ timeout: constants_1.TIMEOUT.medium });
|
|
114
|
+
await appTabTaskPanelPage.openTask(`${userTaskName}2`);
|
|
115
|
+
await (0, test_1.expect)(appTabTaskDetailsPage.detailsInfo.getByText(`${userTaskName}2`)).toBeVisible({ timeout: constants_1.TIMEOUT.medium });
|
|
116
|
+
});
|
|
117
|
+
await _8_10_1.test.step('Assert process completion in Operate', async () => {
|
|
118
|
+
const appTabAppsPage = new AppsPage_1.AppsPage(appTab);
|
|
119
|
+
const appTabHomePage = new OperateHomePage_1.OperateHomePage(appTab);
|
|
120
|
+
const appTabProcessesPage = new OperateProcessesPage_1.OperateProcessesPage(appTab);
|
|
121
|
+
const appTabProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(appTab);
|
|
122
|
+
await appTabAppsPage.clickCamundaApps();
|
|
123
|
+
await appTabAppsPage.clickOperate(CLUSTER_NAME);
|
|
124
|
+
await appTabHomePage.clickProcessesTab();
|
|
125
|
+
await (0, test_1.expect)(appTabProcessesPage.processCompletedCheckbox).toBeVisible({
|
|
126
|
+
timeout: constants_1.TIMEOUT.short,
|
|
98
127
|
});
|
|
99
|
-
await
|
|
100
|
-
await
|
|
101
|
-
await
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
await
|
|
109
|
-
await
|
|
110
|
-
await
|
|
111
|
-
await
|
|
112
|
-
await
|
|
113
|
-
await
|
|
114
|
-
await
|
|
115
|
-
await
|
|
116
|
-
await
|
|
117
|
-
|
|
118
|
-
const optimizeTabOptimizeCollectionsPage = new OptimizeCollectionsPage_1.OptimizeCollectionsPage(operateTab);
|
|
119
|
-
const optimizeTabOptimizeReportPage = new OptimizeReportPage_1.OptimizeReportPage(operateTab);
|
|
120
|
-
const optimizeTabOptimizeHomePage = new OptimizeHomePage_1.OptimizeHomePage(operateTab);
|
|
121
|
-
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateTab, operateTab.getByRole('link', { name: processName }), `process ${processName} in Optimize`, 60000);
|
|
122
|
-
await optimizeTabOptimizeHomePage.clickCollectionsLink();
|
|
123
|
-
await optimizeTabOptimizeCollectionsPage.clickCreateNewButtonWithRetry();
|
|
124
|
-
await optimizeTabOptimizeCollectionsPage.clickReportOption();
|
|
125
|
-
await optimizeTabOptimizeReportPage.clickProcessSelectionButton();
|
|
126
|
-
await optimizeTabOptimizeReportPage.clickUserTaskProcess(processName);
|
|
127
|
-
await (0, test_1.expect)(optimizeTabOptimizeReportPage.versionSelection).toBeVisible({
|
|
128
|
-
timeout: 15000,
|
|
128
|
+
await appTabProcessesPage.clickProcessCompletedCheckbox();
|
|
129
|
+
await appTabProcessesPage.clickProcessInstanceLink(processName);
|
|
130
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(appTabProcessInstancePage, appTabProcessInstancePage.completedIcon, 'completed icon in Operate', constants_1.TIMEOUT.processComplete);
|
|
131
|
+
});
|
|
132
|
+
await _8_10_1.test.step('Assert process imported in Optimize and create user task report', async () => {
|
|
133
|
+
const appTabAppsPage = new AppsPage_1.AppsPage(appTab);
|
|
134
|
+
const optimizeHomePage = new OptimizeHomePage_1.OptimizeHomePage(appTab);
|
|
135
|
+
const optimizeCollectionsPage = new OptimizeCollectionsPage_1.OptimizeCollectionsPage(appTab);
|
|
136
|
+
const optimizeReportPage = new OptimizeReportPage_1.OptimizeReportPage(appTab);
|
|
137
|
+
await appTabAppsPage.clickCamundaApps();
|
|
138
|
+
await appTabAppsPage.clickOptimize(CLUSTER_NAME);
|
|
139
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(appTab, appTab.getByRole('link', { name: processName }), `process ${processName} in Optimize`, constants_1.TIMEOUT.optimizeImport);
|
|
140
|
+
await optimizeHomePage.clickCollectionsLink();
|
|
141
|
+
await optimizeCollectionsPage.clickCreateNewButtonWithRetry();
|
|
142
|
+
await optimizeCollectionsPage.clickReportOption();
|
|
143
|
+
await optimizeReportPage.clickProcessSelectionButton();
|
|
144
|
+
await optimizeReportPage.clickUserTaskProcess(processName);
|
|
145
|
+
await (0, test_1.expect)(optimizeReportPage.versionSelection).toBeVisible({
|
|
146
|
+
timeout: constants_1.TIMEOUT.short,
|
|
129
147
|
});
|
|
130
|
-
await
|
|
131
|
-
await
|
|
132
|
-
await
|
|
133
|
-
await
|
|
134
|
-
await
|
|
135
|
-
await
|
|
136
|
-
await
|
|
137
|
-
await (0, test_1.expect)(
|
|
138
|
-
timeout:
|
|
148
|
+
await optimizeReportPage.clickVersionSelection();
|
|
149
|
+
await optimizeReportPage.clickAlwaysDisplayLatestSelection();
|
|
150
|
+
await optimizeReportPage.clickBlankReportButton();
|
|
151
|
+
await optimizeReportPage.clickCreateReportLink();
|
|
152
|
+
await optimizeReportPage.clickSelectDropdown();
|
|
153
|
+
await optimizeReportPage.clickUserTaskOption();
|
|
154
|
+
await optimizeReportPage.clickHeatMapButton();
|
|
155
|
+
await (0, test_1.expect)(optimizeReportPage.tableOption).toBeVisible({
|
|
156
|
+
timeout: constants_1.TIMEOUT.short,
|
|
139
157
|
});
|
|
140
|
-
await
|
|
141
|
-
await
|
|
142
|
-
await
|
|
143
|
-
await
|
|
144
|
-
await
|
|
145
|
-
await
|
|
146
|
-
await (0, test_1.expect)(
|
|
147
|
-
timeout:
|
|
158
|
+
await optimizeReportPage.clickTableOption();
|
|
159
|
+
await optimizeReportPage.clickReportName();
|
|
160
|
+
await optimizeReportPage.clearReportName();
|
|
161
|
+
await optimizeReportPage.fillReportName(reportName);
|
|
162
|
+
await optimizeReportPage.clickSaveButton();
|
|
163
|
+
await optimizeHomePage.clickCollectionsLink();
|
|
164
|
+
await (0, test_1.expect)(appTab.getByText(reportName)).toBeVisible({
|
|
165
|
+
timeout: constants_1.TIMEOUT.medium,
|
|
166
|
+
});
|
|
167
|
+
await optimizeCollectionsPage.clickMostRecentProcessReport(reportName);
|
|
168
|
+
await optimizeReportPage.waitUntilLocatorIsVisible(optimizeReportPage.oneUserTaskInstance.first(), appTab);
|
|
169
|
+
await (0, test_1.expect)(optimizeReportPage.oneUserTaskInstance).toHaveCount(2, {
|
|
170
|
+
timeout: constants_1.TIMEOUT.navigation,
|
|
148
171
|
});
|
|
149
|
-
await optimizeTabOptimizeCollectionsPage.clickMostRecentProcessReport(reportName);
|
|
150
|
-
await optimizeTabOptimizeReportPage.waitUntilLocatorIsVisible(optimizeTabOptimizeReportPage.oneUserTaskInstance.first(), operateTab);
|
|
151
|
-
await (0, test_1.expect)(optimizeTabOptimizeReportPage.oneUserTaskInstance).toHaveCount(2, { timeout: 60000 });
|
|
152
172
|
});
|
|
153
173
|
});
|
|
154
|
-
(0, _8_10_1.test)('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
174
|
+
(0, _8_10_1.test)('Most Common REST Connector User Flow', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
|
|
155
175
|
_8_10_1.test.slow();
|
|
156
176
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
157
177
|
const processName = 'REST_Connector_Basic_Auth_Process' + randomString;
|
|
158
178
|
await _8_10_1.test.step('Navigate to Web Modeler', async () => {
|
|
179
|
+
await (0, test_1.expect)(homePage.camundaComponentsButton).toBeVisible({
|
|
180
|
+
timeout: constants_1.TIMEOUT.medium,
|
|
181
|
+
});
|
|
159
182
|
await appsPage.clickCamundaApps();
|
|
160
183
|
await appsPage.clickModeler();
|
|
161
184
|
await (0, test_1.expect)(modelerHomePage.modelerPageBanner).toBeVisible({
|
|
162
|
-
timeout:
|
|
185
|
+
timeout: constants_1.TIMEOUT.navigation,
|
|
163
186
|
});
|
|
164
187
|
});
|
|
165
|
-
await _8_10_1.test.step('Open Cross Component Test Project and
|
|
188
|
+
await _8_10_1.test.step('Open Cross Component Test Project and create a BPMN diagram template', async () => {
|
|
166
189
|
await modelerHomePage.clickCrossComponentProjectFolder();
|
|
167
190
|
await modelerHomePage.clickDiagramTypeDropdown();
|
|
168
191
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
169
192
|
});
|
|
170
|
-
await _8_10_1.test.step('Create BPMN
|
|
193
|
+
await _8_10_1.test.step('Create BPMN diagram with REST Connector using Basic Auth', async () => {
|
|
171
194
|
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', 'result', { username: 'username', password: 'password' });
|
|
172
|
-
await modelerCreatePage.runProcessInstance(clusterName);
|
|
173
195
|
});
|
|
174
|
-
await _8_10_1.test.step('
|
|
196
|
+
await _8_10_1.test.step('Deploy and start process instance', async () => {
|
|
197
|
+
await modelerCreatePage.runProcessInstance(CLUSTER_NAME);
|
|
175
198
|
await (0, test_1.expect)(modelerCreatePage.viewProcessInstanceLink).toBeVisible({
|
|
176
|
-
timeout:
|
|
199
|
+
timeout: constants_1.TIMEOUT.navigation,
|
|
177
200
|
});
|
|
201
|
+
});
|
|
202
|
+
await _8_10_1.test.step('Assert process completes in Operate and verify connector result', async () => {
|
|
178
203
|
await modelerCreatePage.clickViewProcessInstanceLink();
|
|
179
|
-
const operateTab = await page.waitForEvent('popup', {
|
|
180
|
-
|
|
181
|
-
const operateTabProcessesPage = new OperateProcessesPage_1.OperateProcessesPage(operateTab);
|
|
182
|
-
const operateTabProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(operateTab);
|
|
183
|
-
await operateTabHomePage.clickProcessesTab();
|
|
184
|
-
await operateTabProcessesPage.clickProcessCompletedCheckbox();
|
|
185
|
-
await operateTabProcessesPage.clickProcessInstanceLink(processName);
|
|
186
|
-
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateTabProcessInstancePage.completedIcon, { totalTimeout: 60000, maxRetries: 5 });
|
|
187
|
-
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateTabProcessInstancePage.variablesList, { totalTimeout: 60000, maxRetries: 5 });
|
|
188
|
-
await (0, test_1.expect)(operateTabProcessInstancePage.connectorResultVariableName('message')).toBeVisible({
|
|
189
|
-
timeout: 15000,
|
|
204
|
+
const operateTab = await page.waitForEvent('popup', {
|
|
205
|
+
timeout: constants_1.TIMEOUT.navigation,
|
|
190
206
|
});
|
|
191
|
-
|
|
207
|
+
const operateHomePage = new OperateHomePage_1.OperateHomePage(operateTab);
|
|
208
|
+
const operateProcessesPage = new OperateProcessesPage_1.OperateProcessesPage(operateTab);
|
|
209
|
+
const operateProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(operateTab);
|
|
210
|
+
await operateHomePage.clickProcessesTab();
|
|
211
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
212
|
+
await operateProcessesPage.clickProcessInstanceLink(processName);
|
|
213
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(operateTab, operateProcessInstancePage.completedIcon, { totalTimeout: constants_1.TIMEOUT.processComplete, maxRetries: 5 });
|
|
214
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(operateTab, operateProcessInstancePage.variablesList, { totalTimeout: constants_1.TIMEOUT.navigation, maxRetries: 5 });
|
|
215
|
+
await (0, test_1.expect)(operateProcessInstancePage.connectorResultVariableName('message')).toBeVisible({ timeout: constants_1.TIMEOUT.short });
|
|
216
|
+
await (0, test_1.expect)(operateProcessInstancePage
|
|
192
217
|
.connectorResultVariableName('message')
|
|
193
|
-
.getByText('"Message from Mock!"')).toBeVisible({
|
|
194
|
-
timeout: 15000,
|
|
195
|
-
});
|
|
218
|
+
.getByText('"Message from Mock!"')).toBeVisible({ timeout: constants_1.TIMEOUT.short });
|
|
196
219
|
});
|
|
197
220
|
});
|
|
198
221
|
});
|
|
@@ -6,3 +6,11 @@ export declare const defaultAssertionOptions: {
|
|
|
6
6
|
intervals: number[];
|
|
7
7
|
timeout: number;
|
|
8
8
|
};
|
|
9
|
+
export declare const TIMEOUT: {
|
|
10
|
+
short: number;
|
|
11
|
+
medium: number;
|
|
12
|
+
navigation: number;
|
|
13
|
+
processActive: number;
|
|
14
|
+
processComplete: number;
|
|
15
|
+
optimizeImport: number;
|
|
16
|
+
};
|
package/dist/utils/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultAssertionOptions = exports._3_MINUTES_IN_MS = exports._1_MINUTE_IN_MS = exports._1_SECOND_IN_MS = exports._100_MS = void 0;
|
|
3
|
+
exports.TIMEOUT = exports.defaultAssertionOptions = exports._3_MINUTES_IN_MS = exports._1_MINUTE_IN_MS = exports._1_SECOND_IN_MS = exports._100_MS = void 0;
|
|
4
4
|
exports._100_MS = 100;
|
|
5
5
|
exports._1_SECOND_IN_MS = 1000;
|
|
6
6
|
exports._1_MINUTE_IN_MS = 60 * 1000;
|
|
@@ -9,3 +9,11 @@ exports.defaultAssertionOptions = {
|
|
|
9
9
|
intervals: [5000, 10000, 15000],
|
|
10
10
|
timeout: 30000,
|
|
11
11
|
};
|
|
12
|
+
exports.TIMEOUT = {
|
|
13
|
+
short: 15000,
|
|
14
|
+
medium: 30000,
|
|
15
|
+
navigation: 60000,
|
|
16
|
+
processActive: 300000,
|
|
17
|
+
processComplete: 120000,
|
|
18
|
+
optimizeImport: 120000,
|
|
19
|
+
};
|