@camunda/e2e-test-suite 0.0.1460 → 0.0.1462
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 +11 -8
- package/dist/tests/SM-8.8/hto-user-flows.spec.js +10 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -498,9 +498,13 @@ By following this convention, we ensure **clarity, consistency, and alignment wi
|
|
|
498
498
|
|
|
499
499
|
| Directory Name | Meaning |
|
|
500
500
|
| ----------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
501
|
+
| `camunda-platform-8.11-latest` | Runs SM tests against the latest 8.11 SNAPSHOT |
|
|
502
|
+
| `camunda-platform-8.10-latest` | Runs SM tests against the latest 8.10 SNAPSHOT |
|
|
501
503
|
| `camunda-platform-8.9-latest` | Runs SM tests against the latest 8.9 SNAPSHOT |
|
|
502
504
|
| `camunda-platform-8.8-latest` | Runs SM tests against the latest 8.8 SNAPSHOT |
|
|
503
505
|
| `camunda-platform-8.7-latest` | Runs SM tests against the latest 8.7 SNAPSHOT |
|
|
506
|
+
| `camunda-platform-8.11` | Runs SM tests against the 8.11 directory. This is where the `release-candidate-8.11` branch is located |
|
|
507
|
+
| `camunda-platform-8.10` | Runs SM tests against the 8.10 directory. This is where the `release-candidate-8.10` branch is located |
|
|
504
508
|
| `camunda-platform-8.9` | Runs SM tests against the 8.9 directory. This is where the `release-candidate-8.9` branch is located |
|
|
505
509
|
| `camunda-platform-8.8` | Runs SM tests against the 8.8 directory. This is where the `release-candidate-8.8` branch is located |
|
|
506
510
|
| `camunda-platform-8.7` | Runs SM tests against the 8.7 directory. This is where the `release-candidate-8.7` branch is located |
|
|
@@ -584,26 +588,25 @@ This applies to all changes that touch test specs, page objects, fixtures, or ut
|
|
|
584
588
|
|
|
585
589
|
The [SaaS/SM/C8Run PR](https://github.com/camunda/c8-cross-component-e2e-tests/actions/workflows/playwright.yml) workflow runs automatically on every pull request. It detects which `tests/` and `pages/` sub-directories have changed and runs the tests for those versions/platforms.
|
|
586
590
|
|
|
587
|
-
|
|
591
|
+
Every changed version gets its own run, so a PR can span several versions and platforms. Examples:
|
|
588
592
|
|
|
589
593
|
- Only `tests/8.10/` and/or `pages/8.10/` are changed → 8.10 SaaS tests run.
|
|
590
594
|
- `tests/8.9/` and `tests/8.10/` are changed → 8.9 and 8.10 SaaS tests run, each in its own organization.
|
|
591
|
-
-
|
|
595
|
+
- `tests/SM-8.8/` and `tests/SM-8.10/` are changed → one Helm install and test run for each SM version.
|
|
596
|
+
- `tests/c8Run-8.8/` and `tests/c8Run-8.10/` are changed → one c8Run build for each version and Tasklist project.
|
|
597
|
+
- `tests/8.10/` and `tests/SM-8.10/` are changed → the SaaS and the SM runs both start.
|
|
592
598
|
|
|
593
599
|
If no `tests/` or `pages/` folders are changed (e.g. infrastructure or tooling changes), the test run is skipped automatically — state this explicitly in the PR description.
|
|
594
600
|
|
|
595
601
|
#### When you must trigger tests manually
|
|
596
602
|
|
|
597
|
-
|
|
603
|
+
The automatic PR workflow covers every changed version and platform. The table below says where you still need an on-demand workflow. Test coverage is not a reason to keep a multi-version PR together: still split large changes for review (see [Multi-version PRs](#multi-version-prs) above).
|
|
598
604
|
|
|
599
605
|
| Scenario | Action required |
|
|
600
606
|
|---|---|
|
|
601
|
-
|
|
|
602
|
-
| Multiple SaaS versions changed (e.g. `8.9` + `8.8`) | Wait for the automatic PR workflow — it runs each SaaS version in its own organization |
|
|
603
|
-
| Multiple SM versions changed (e.g. `SM-8.9` + `SM-8.8`) | Trigger [SM On-Demand ≥8.8](https://github.com/camunda/c8-cross-component-e2e-tests/actions/workflows/playwright_sm_manual_install_8_8_plus.yml) or [SM On-Demand ≤8.7](https://github.com/camunda/c8-cross-component-e2e-tests/actions/workflows/playwright_sm_manual.yml) separately for each version, **or split the PR** |
|
|
604
|
-
| SaaS + SM versions changed together (e.g. `8.9` + `SM-8.8`) | Trigger both the SaaS and SM on-demand workflows, **or split the PR** |
|
|
607
|
+
| One or more versions changed, on any platforms (e.g. `8.9` + `8.10`, `SM-8.8` + `SM-8.10`, `8.9` + `SM-8.8`) | Wait for the automatic PR workflow |
|
|
605
608
|
| Connector tests | [SaaS Connectors](https://github.com/camunda/c8-cross-component-e2e-tests/actions/workflows/playwright_saas_connectors.yml) or the relevant SM connector workflow |
|
|
606
|
-
| C8 Run tests (`tests/c8Run-8.x/`) | [C8Run On-Demand
|
|
609
|
+
| C8 Run tests (`tests/c8Run-8.x/`) on macOS or Windows | [C8Run On-Demand Mac](https://github.com/camunda/c8-cross-component-e2e-tests/actions/workflows/playwright_c8Run_tests_manual_mac.yml) or [C8Run On-Demand Windows](https://github.com/camunda/c8-cross-component-e2e-tests/actions/workflows/playwright_c8Run_tests_manual_windows.yml) — the automatic PR workflow runs c8Run on Linux only |
|
|
607
610
|
|
|
608
611
|
#### Steps
|
|
609
612
|
|
|
@@ -6,6 +6,7 @@ const _setup_1 = require("../../test-setup.js");
|
|
|
6
6
|
const sleep_1 = require("../../utils/sleep");
|
|
7
7
|
const UtilitiesPage_1 = require("../../pages/SM-8.8/UtilitiesPage");
|
|
8
8
|
const resetSession_1 = require("../../utils/resetSession");
|
|
9
|
+
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
9
10
|
SM_8_8_1.test.describe.configure({ mode: 'parallel' });
|
|
10
11
|
SM_8_8_1.test.describe('HTO User Flow Tests', () => {
|
|
11
12
|
SM_8_8_1.test.beforeEach(async ({ navigationPage }, testInfo) => {
|
|
@@ -140,11 +141,16 @@ SM_8_8_1.test.describe('HTO User Flow Tests', () => {
|
|
|
140
141
|
await (0, test_1.expect)(operateHomePage.editVariableSpinner).not.toBeVisible({
|
|
141
142
|
timeout: 120000,
|
|
142
143
|
});
|
|
143
|
-
await (0,
|
|
144
|
-
|
|
144
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, page.getByText('"updatedValue"'), {
|
|
145
|
+
totalTimeout: 180000,
|
|
146
|
+
visibilityTimeout: 30000,
|
|
147
|
+
maxRetries: 6,
|
|
148
|
+
postAction: async () => {
|
|
149
|
+
await page.reload();
|
|
150
|
+
},
|
|
145
151
|
});
|
|
146
|
-
await (0, test_1.expect)(page.getByText('"
|
|
147
|
-
timeout:
|
|
152
|
+
await (0, test_1.expect)(page.getByText('"testValue"')).not.toBeVisible({
|
|
153
|
+
timeout: 30000,
|
|
148
154
|
});
|
|
149
155
|
await (0, sleep_1.sleep)(10000);
|
|
150
156
|
await navigationPage.goToTasklist();
|