@camunda/e2e-test-suite 0.0.962 → 0.0.964
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.
|
@@ -107,12 +107,24 @@ class OperateHomePage {
|
|
|
107
107
|
}
|
|
108
108
|
async fillVariableValueInput(newValue) {
|
|
109
109
|
await this.openButton.click();
|
|
110
|
-
|
|
110
|
+
const editor = this.page
|
|
111
111
|
.getByLabel('Edit Variable "testVariable"')
|
|
112
|
-
.
|
|
113
|
-
|
|
112
|
+
.getByRole('code');
|
|
113
|
+
await (0, test_1.expect)(editor).toBeVisible({ timeout: 30000 });
|
|
114
|
+
await editor.click();
|
|
115
|
+
// The JSON editor re-syncs its document from the React value prop on a
|
|
116
|
+
// debounce, which parks the caret at the end of the line. keyboard.type()
|
|
117
|
+
// spends one keystroke per character, so that re-sync lands mid-word and
|
|
118
|
+
// the tail is typed past the closing quote — the nightly recorded
|
|
119
|
+
// `"updatedV"alue` and the local reproduce `"upd"edale`, invalid JSON that
|
|
120
|
+
// Apply refuses, leaving the modal open on the old value. Select-all then
|
|
121
|
+
// insertText commits the whole value in a single input event, so no
|
|
122
|
+
// re-sync can interleave.
|
|
123
|
+
await this.page.keyboard.press('Control+A');
|
|
114
124
|
await this.page.keyboard.press('Backspace');
|
|
115
|
-
|
|
125
|
+
const jsonValue = JSON.stringify(newValue);
|
|
126
|
+
await this.page.keyboard.insertText(jsonValue);
|
|
127
|
+
await (0, test_1.expect)(editor).toContainText(jsonValue, { timeout: 10000 });
|
|
116
128
|
}
|
|
117
129
|
async clickSaveVariableButton() {
|
|
118
130
|
await this.applyButton.click();
|
|
@@ -114,7 +114,8 @@ if (process.env.IS_DS === 'true') {
|
|
|
114
114
|
await operateProcessInstancePage.assertProcessVariableContainsText('Upload_Files', 'aws');
|
|
115
115
|
});
|
|
116
116
|
});
|
|
117
|
-
|
|
117
|
+
// Skipped due to bug #8162: https://github.com/camunda/connectors/issues/8162
|
|
118
|
+
SM_8_8_1.test.skip('Document Handling Connectors User Flow - AWS @tasklistV2', async ({ page, navigationPage, modelerHomePage, modelerCreatePage, operateHomePage, operateProcessesPage, connectorMarketplacePage, operateProcessInstancePage, ocIdentityHomePage, ocIdentityRolesPage, }) => {
|
|
118
119
|
const processName = 'Document_Handling_Connectors_User_Flow_AWS_Process' +
|
|
119
120
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
120
121
|
const baseURL = process.env.PLAYWRIGHT_BASE_URL ||
|