mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Fix for the creator panel on custom section.
Summary: Stop opening the creator panel on chart or custom widgets. Only switch tabs when panel is open Test Plan: Updated Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3868
This commit is contained in:
@@ -12,11 +12,18 @@ describe('RightPanel', function() {
|
||||
const mainSession = await gu.session().teamSite.login();
|
||||
await mainSession.tempNewDoc(cleanup);
|
||||
|
||||
// Reset prefs.
|
||||
await driver.executeScript('resetSeenPopups();');
|
||||
await gu.waitForServer();
|
||||
|
||||
// Refresh for a clean start.
|
||||
await gu.reloadDoc();
|
||||
|
||||
// Close panel and make sure it stays closed.
|
||||
await gu.toggleSidePanel('right', 'close');
|
||||
|
||||
// Add a chart section.
|
||||
await gu.addNewSection('Chart', 'Table1');
|
||||
await gu.addNewSection('Chart', 'Table1', { dismissTips: true});
|
||||
assert.isFalse(await gu.isSidePanelOpen('right'));
|
||||
await gu.undo();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user