@camunda/e2e-test-suite 0.0.1219 → 0.0.1220
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.
|
@@ -351,6 +351,13 @@ class ModelerHomePage {
|
|
|
351
351
|
if (await committedProjectName.first().isVisible()) {
|
|
352
352
|
return;
|
|
353
353
|
}
|
|
354
|
+
// A failed create-project POST logs the SPA out on its own -- the tab
|
|
355
|
+
// bounces to the Auth0 login form (or lands on "Project not found") -- so
|
|
356
|
+
// the inline editor never mounts and every probe below waits out its
|
|
357
|
+
// budget on a page Modeler does not own. Recover the session first, the
|
|
358
|
+
// same primitive clickCreateNewProjectButton uses, so the re-creation
|
|
359
|
+
// branch below runs against Modeler rather than the login form.
|
|
360
|
+
await this.recoverModelerSession();
|
|
354
361
|
// The rename runs on a freshly created project, which is exactly when an
|
|
355
362
|
// announcement dialog mounts on top of it: it takes focus, the inline
|
|
356
363
|
// editor unmounts, and the click below then waits out its whole timeout
|