From 1f4a6afee4615592793d4cbdb630a55673b2ab35 Mon Sep 17 00:00:00 2001 From: Swikriti Tripathi Date: Mon, 31 May 2021 10:22:51 +0545 Subject: [PATCH] Adjust steps that try to navigate private links --- tests/acceptance/stepDefinitions/privateLinksContext.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/acceptance/stepDefinitions/privateLinksContext.js b/tests/acceptance/stepDefinitions/privateLinksContext.js index 5ab0a242eb4..0ed3f204fab 100644 --- a/tests/acceptance/stepDefinitions/privateLinksContext.js +++ b/tests/acceptance/stepDefinitions/privateLinksContext.js @@ -36,6 +36,9 @@ When( 'the user tries to navigate to the private link created by user {string} for file/folder {string}', async function(user, resource) { const item = await webdav.getProperties(resource, user, ['oc:privatelink']) - await client.url(item['oc:privatelink']) + await client + .url(item['oc:privatelink']) + .page.webPage() + .waitForElementNotPresent('@webContainer') } )