From 44b4ec7edf1a32dbcd0ce0636216b8eaeb70f420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Sadzi=C5=84ski?= Date: Fri, 19 Aug 2022 00:00:39 +0200 Subject: [PATCH] (core) Removing duplicated tests Summary: Removing duplicated tests that were moved to grist-core. Test Plan: Existing tests Reviewers: paulfitz Reviewed By: paulfitz Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D3588 --- test/nbrowser/DuplicateDocument.ts | 4 ++-- test/nbrowser/ReferenceList.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/nbrowser/DuplicateDocument.ts b/test/nbrowser/DuplicateDocument.ts index a5f27352..3e32825f 100644 --- a/test/nbrowser/DuplicateDocument.ts +++ b/test/nbrowser/DuplicateDocument.ts @@ -28,7 +28,7 @@ describe("DuplicateDocument", function() { assert.equal(await driver.find('.test-modal-confirm').getAttribute('disabled'), null); // Save a copy with a proper name. - await gu.completeCopy({destName: 'DuplicateTest1'}); + await gu.completeCopy({destName: 'DuplicateTest1', destWorkspace: 'Test Workspace'}); // check the breadcrumbs reflect new document name, and the doc is not empty. assert.equal(await driver.find('.test-bc-doc').value(), 'DuplicateTest1'); @@ -62,7 +62,7 @@ describe("DuplicateDocument", function() { await driver.find('.test-tb-share').click(); await driver.find('.test-save-copy').click(); - await gu.completeCopy({destName: 'DuplicateTest2'}); + await gu.completeCopy({destName: 'DuplicateTest2', destWorkspace: 'Test Workspace'}); urlId = (await gu.getCurrentUrlId())!; // check the breadcrumbs reflect new document name, and the doc contains our change. diff --git a/test/nbrowser/ReferenceList.ts b/test/nbrowser/ReferenceList.ts index 2a43ce63..9f1fe3bb 100644 --- a/test/nbrowser/ReferenceList.ts +++ b/test/nbrowser/ReferenceList.ts @@ -14,6 +14,7 @@ describe('ReferenceList', function() { await session.tempDoc(cleanup, 'Favorite_Films.grist'); await gu.toggleSidePanel('right'); + await driver.find(".test-right-tab-pagewidget").click(); await driver.find('.test-config-data').click(); });