From 48c1ee9388325a22cc0e2ac81fea88156eed373d Mon Sep 17 00:00:00 2001 From: Kai Rohwer Date: Mon, 9 Dec 2024 17:25:20 +0100 Subject: [PATCH] E2E adjust share import --- .../processes/process-modeler/process-modeler.spec.ts | 3 +++ yarn.lock | 9 +-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/ms2/processes/process-modeler/process-modeler.spec.ts b/tests/ms2/processes/process-modeler/process-modeler.spec.ts index 7de4b4975..5c6aefbe6 100644 --- a/tests/ms2/processes/process-modeler/process-modeler.spec.ts +++ b/tests/ms2/processes/process-modeler/process-modeler.spec.ts @@ -340,6 +340,9 @@ test('share-modal', async ({ processListPage, ms2Page }) => { await newPage.waitForURL(/shared-viewer\?token=([^]+)/); await newPage.getByRole('button', { name: 'My Space' }).click(); + + await newPage.getByText('root', { exact: true }).click(); + await newPage.getByRole('button', { name: 'Copy and Edit' }).click(); await newPage.waitForURL(/processes\/[a-z0-9-_]+/); const newProcessId = newPage.url().split('/processes/').pop(); diff --git a/yarn.lock b/yarn.lock index f7bf69e60..1646a3d8d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18401,20 +18401,13 @@ prosemirror-keymap@^1.1.4: prosemirror-state "^1.0.0" w3c-keyname "^2.2.0" -prosemirror-model@^1.0.0, prosemirror-model@^1.14.1: +prosemirror-model@^1.0.0, prosemirror-model@^1.14.1, prosemirror-model@^1.20.0: version "1.23.0" resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.23.0.tgz#652058182ed90dc15c8f0f2cf2df488306fa1dcd" integrity sha512-Q/fgsgl/dlOAW9ILu4OOhYWQbc7TQd4BwKH/RwmUjyVf8682Be4zj3rOYdLnYEcGzyg8LL9Q5IWYKD8tdToreQ== dependencies: orderedmap "^2.0.0" -prosemirror-model@^1.20.0: - version "1.22.3" - resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.22.3.tgz#52fdf5897f348b0f07f64bea89156d90afdf645a" - integrity sha512-V4XCysitErI+i0rKFILGt/xClnFJaohe/wrrlT2NSZ+zk8ggQfDH4x2wNK7Gm0Hp4CIoWizvXFP7L9KMaCuI0Q== - dependencies: - orderedmap "^2.0.0" - prosemirror-state@^1.0.0, prosemirror-state@^1.2.2, prosemirror-state@^1.3.4: version "1.4.3" resolved "https://registry.npmjs.org/prosemirror-state/-/prosemirror-state-1.4.3.tgz"