diff --git a/app/client/components/BehavioralPromptsManager.ts b/app/client/components/BehavioralPromptsManager.ts index a7f7ec06..6d1a2c4f 100644 --- a/app/client/components/BehavioralPromptsManager.ts +++ b/app/client/components/BehavioralPromptsManager.ts @@ -63,6 +63,10 @@ export class BehavioralPromptsManager extends Disposable { return this._dismissedTips.get().has(prompt); } + public shouldShowTips() { + return !this._prefs.get().dontShowTips; + } + private _queueTip(refElement: Element, prompt: BehavioralPrompt, options: AttachOptions) { if ( // Don't show tips if surveying is disabled. diff --git a/test/nbrowser/gristUtils.ts b/test/nbrowser/gristUtils.ts index 695aba3d..531735a0 100644 --- a/test/nbrowser/gristUtils.ts +++ b/test/nbrowser/gristUtils.ts @@ -751,7 +751,7 @@ export async function reloadDoc() { * Wait for the doc list to show, to know that workspaces are fetched, and imports enabled. */ export async function waitForDocMenuToLoad(): Promise { - await driver.findWait('.test-dm-doclist', 1000); + await driver.findWait('.test-dm-doclist', 2000); await driver.wait(() => driver.find('.test-dm-doclist').isDisplayed(), 2000); }