@camunda/e2e-test-suite 0.0.104 → 0.0.106
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.
package/README.md
CHANGED
|
@@ -114,7 +114,7 @@ To run the tests, you need your personal Vault token. You should normally have a
|
|
|
114
114
|
After running `npm run setup`, open your `.env` file and fill these:
|
|
115
115
|
|
|
116
116
|
- `TASKLIST_VERSION` (Set to `v1` or `v2` for 8.8+)
|
|
117
|
-
- `PLAYWRIGHT_BASE_URL` (Base_url for Helm chart testing, or
|
|
117
|
+
- `PLAYWRIGHT_BASE_URL` (Base_url for Helm chart testing, or remove it completely)
|
|
118
118
|
- `CLUSTER_VERSION` (Cluster version on INT to test, or leave blank)
|
|
119
119
|
- `MINOR_VERSION` (Minor version, e.g. `SM-8.8`, corresponds to the test folders in this repo)
|
|
120
120
|
|
|
@@ -97,7 +97,13 @@ class ConnectorSettingsPage {
|
|
|
97
97
|
await this.methodTypeDropdown.selectOption(method, { timeout: 60000 });
|
|
98
98
|
}
|
|
99
99
|
async clickResultVariableInput() {
|
|
100
|
-
|
|
100
|
+
try {
|
|
101
|
+
await this.resultVariableInput.click();
|
|
102
|
+
}
|
|
103
|
+
catch {
|
|
104
|
+
await this.clickOutputMappingTab();
|
|
105
|
+
await this.resultVariableInput.click();
|
|
106
|
+
}
|
|
101
107
|
}
|
|
102
108
|
async fillResultVariableInput(variable) {
|
|
103
109
|
await this.resultVariableInput.fill(variable);
|
|
@@ -175,9 +175,6 @@ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, conn
|
|
|
175
175
|
await connectorSettingsPage.fillUrlInput(url);
|
|
176
176
|
await connectorSettingsPage.clickOutputMappingTab();
|
|
177
177
|
if (resultVariable.length > 0) {
|
|
178
|
-
await (0, test_1.expect)(connectorSettingsPage.resultVariableInput).toBeVisible({
|
|
179
|
-
timeout: 60000,
|
|
180
|
-
});
|
|
181
178
|
await connectorSettingsPage.clickResultVariableInput();
|
|
182
179
|
await connectorSettingsPage.fillResultVariableInput('result');
|
|
183
180
|
await (0, sleep_1.sleep)(5000);
|