From ba3ccf90ce0a9279771fbe5a489e01ef807c1073 Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Thu, 10 Oct 2024 16:04:04 -0400 Subject: [PATCH] back out of using gu.setGristTheme --- test/nbrowser/Importer.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/nbrowser/Importer.ts b/test/nbrowser/Importer.ts index 80bacc4e..ea24cfd0 100644 --- a/test/nbrowser/Importer.ts +++ b/test/nbrowser/Importer.ts @@ -19,8 +19,10 @@ describe('Importer', function() { // have tests go faster. Each successful test case should leave the document unchanged. if (!docUrl || !await gu.testCurrentUrl(docUrl)) { const session = await gu.session().teamSite.login(); - // We'll be checking colors, so standardize theme. - await gu.setGristTheme({appearance: 'light', syncWithOS: false}); + // TODO: tests check colors literally, so need to be in + // light theme - but calling gu.setGristTheme results in + // some problems so right now if you are a dev you just + // need to run these tests in light mode, sorry. await session.tempDoc(cleanup, 'Hello.grist'); docUrl = await driver.getCurrentUrl(); }