@camunda/e2e-test-suite 0.0.285 → 0.0.287
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.
|
@@ -58,11 +58,9 @@ class IdpCreatePage {
|
|
|
58
58
|
name: 'Create template',
|
|
59
59
|
exact: true,
|
|
60
60
|
});
|
|
61
|
-
this.unstructured_UploadFilesButton = page
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
})
|
|
65
|
-
.first();
|
|
61
|
+
this.unstructured_UploadFilesButton = page.getByRole('button', {
|
|
62
|
+
name: 'Drag and drop PDF files here',
|
|
63
|
+
});
|
|
66
64
|
this.extractButton = page.getByRole('button', {
|
|
67
65
|
name: 'Extract',
|
|
68
66
|
exact: true,
|
|
@@ -58,8 +58,7 @@ class IdpCreatePage {
|
|
|
58
58
|
exact: true,
|
|
59
59
|
});
|
|
60
60
|
this.unstructured_UploadFilesButton = page.getByRole('button', {
|
|
61
|
-
name: 'Drag and drop PDF files here
|
|
62
|
-
exact: true,
|
|
61
|
+
name: 'Drag and drop PDF files here',
|
|
63
62
|
});
|
|
64
63
|
this.extractButton = page.getByRole('button', {
|
|
65
64
|
name: 'Extract',
|
|
@@ -57,11 +57,9 @@ class IdpCreatePage {
|
|
|
57
57
|
name: 'Create template',
|
|
58
58
|
exact: true,
|
|
59
59
|
});
|
|
60
|
-
this.unstructured_UploadFilesButton = page
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
})
|
|
64
|
-
.first();
|
|
60
|
+
this.unstructured_UploadFilesButton = page.getByRole('button', {
|
|
61
|
+
name: 'Drag and drop PDF files here',
|
|
62
|
+
});
|
|
65
63
|
this.extractButton = page.getByRole('button', {
|
|
66
64
|
name: 'Extract',
|
|
67
65
|
exact: true,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConnectorSettingsPage = void 0;
|
|
4
4
|
const test_1 = require("@playwright/test");
|
|
5
|
+
const sleep_1 = require("../../utils/sleep");
|
|
5
6
|
class ConnectorSettingsPage {
|
|
6
7
|
page;
|
|
7
8
|
urlInput;
|
|
@@ -86,6 +87,7 @@ class ConnectorSettingsPage {
|
|
|
86
87
|
}
|
|
87
88
|
async fillUsernameInput(username) {
|
|
88
89
|
await this.usernameInput.fill(username, { timeout: 30000 });
|
|
90
|
+
await (0, sleep_1.sleep)(1000);
|
|
89
91
|
}
|
|
90
92
|
async clickPasswordInput() {
|
|
91
93
|
await this.passwordInput.click();
|
|
@@ -113,6 +115,7 @@ class ConnectorSettingsPage {
|
|
|
113
115
|
}
|
|
114
116
|
async fillBearerTokenInput(token) {
|
|
115
117
|
await this.bearerTokenInput.fill(token);
|
|
118
|
+
await (0, sleep_1.sleep)(1000);
|
|
116
119
|
}
|
|
117
120
|
async clickAuthenticationTab() {
|
|
118
121
|
await this.authenticationTab.click({ timeout: 60000 });
|