@camunda/e2e-test-suite 0.0.93 → 0.0.95
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.
|
@@ -34,6 +34,8 @@ class LoginPage {
|
|
|
34
34
|
await this.usernameInput.fill(username);
|
|
35
35
|
}
|
|
36
36
|
async clickContinueButton() {
|
|
37
|
+
await (0, test_1.expect)(this.continueButton).toBeVisible();
|
|
38
|
+
await (0, test_1.expect)(this.continueButton).toBeEnabled();
|
|
37
39
|
await this.continueButton.click();
|
|
38
40
|
}
|
|
39
41
|
async fillPassword(password) {
|
|
@@ -5,6 +5,7 @@ const test_1 = require("@playwright/test");
|
|
|
5
5
|
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
6
6
|
const zeebeClient_1 = require("../../utils/zeebeClient");
|
|
7
7
|
const sleep_1 = require("../../utils/sleep");
|
|
8
|
+
const constants_1 = require("../../utils/constants");
|
|
8
9
|
c8Run_8_9_1.test.beforeAll(async () => {
|
|
9
10
|
await Promise.all([
|
|
10
11
|
(0, zeebeClient_1.deploy)('./resources/User_Task_Process_With_Form.bpmn'),
|
|
@@ -40,8 +41,10 @@ c8Run_8_9_1.test.describe('API tests for V2 @tasklistV2', () => {
|
|
|
40
41
|
await (0, apiHelpers_1.assertResponseStatus)(incidentsList, 200);
|
|
41
42
|
});
|
|
42
43
|
(0, c8Run_8_9_1.test)('Get connectors status', async ({ request }) => {
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
await (0, test_1.expect)(async () => {
|
|
45
|
+
const connectorsStatus = await request.get(process.env.C8RUN_CONNECTORS_API_URL_LATEST + '/actuator/health');
|
|
46
|
+
await (0, apiHelpers_1.assertResponseStatus)(connectorsStatus, 200);
|
|
47
|
+
}).toPass(constants_1.defaultAssertionOptions);
|
|
45
48
|
});
|
|
46
49
|
(0, c8Run_8_9_1.test)('Get a inbound connectors list', async ({ request }) => {
|
|
47
50
|
const connectorsInboundList = await request.get(process.env.C8RUN_CONNECTORS_API_URL_LATEST + '/inbound');
|