mirror of
https://github.com/gristlabs/grist-core.git
synced 2025-06-13 20:53:59 +00:00
back out of using gu.setGristTheme
This commit is contained in:
parent
712b3d4886
commit
ba3ccf90ce
@ -19,8 +19,10 @@ describe('Importer', function() {
|
|||||||
// have tests go faster. Each successful test case should leave the document unchanged.
|
// have tests go faster. Each successful test case should leave the document unchanged.
|
||||||
if (!docUrl || !await gu.testCurrentUrl(docUrl)) {
|
if (!docUrl || !await gu.testCurrentUrl(docUrl)) {
|
||||||
const session = await gu.session().teamSite.login();
|
const session = await gu.session().teamSite.login();
|
||||||
// We'll be checking colors, so standardize theme.
|
// TODO: tests check colors literally, so need to be in
|
||||||
await gu.setGristTheme({appearance: 'light', syncWithOS: false});
|
// 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');
|
await session.tempDoc(cleanup, 'Hello.grist');
|
||||||
docUrl = await driver.getCurrentUrl();
|
docUrl = await driver.getCurrentUrl();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user