@camunda/e2e-test-suite 0.0.1185 → 0.0.1187
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.
|
@@ -483,7 +483,12 @@ class ModelerHomePage {
|
|
|
483
483
|
? openButton.first()
|
|
484
484
|
: this.crossComponentProjectFolder;
|
|
485
485
|
await target.click({ timeout: 60000 });
|
|
486
|
-
|
|
486
|
+
// Optional `s`: camunda-hub#28928 renames the in-workspace projects listing
|
|
487
|
+
// from singular `/workspace/{id}/projects` to plural `/workspaces/{id}/projects`
|
|
488
|
+
// with no redirect, and that PR is unmerged — so this suite runs against both
|
|
489
|
+
// (released/main hub still serves singular, the #28928 branch serves plural).
|
|
490
|
+
// Gate on either so the wait resolves whichever route the hub under test serves.
|
|
491
|
+
await this.page.waitForURL(/\/workspaces?\/[^/]+\/projects/, {
|
|
487
492
|
timeout: 120000,
|
|
488
493
|
});
|
|
489
494
|
this.workspaceProjectsUrl = this.page.url();
|