mirror of
https://github.com/zen-browser/desktop
synced 2026-04-26 09:35:08 +02:00
test: Enable workspaces when doing tests, b=(no-bug), c=tests, workspaces
This commit is contained in:
13
src/zen/tests/workspaces/browser_basic_workspaces.js
Normal file
13
src/zen/tests/workspaces/browser_basic_workspaces.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/* Any copyright is dedicated to the Public Domain.
|
||||
https://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
'use strict';
|
||||
|
||||
add_setup(async function () {
|
||||
await ZenWorkspaces.createAndSaveWorkspace('Test Workspace 2');
|
||||
});
|
||||
|
||||
add_task(async function test_Check_Creation() {
|
||||
const workspaces = await ZenWorkspaces._workspaces();
|
||||
ok(workspaces.workspaces.length, 2);
|
||||
});
|
||||
Reference in New Issue
Block a user