tests: add tests

This commit is contained in:
tzhangchi
2023-01-03 22:25:48 +08:00
parent 038dc7f923
commit f257dcf388
4 changed files with 38 additions and 12 deletions
@@ -0,0 +1,17 @@
import { test, expect } from '@playwright/test';
import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
test.describe('share', () => {
test('get the public of workspace', async () => {});
test('make workspace public', async () => {});
test('make workspace private', async () => {});
test('unlogin user open the public workspace ', async () => {});
test('unlogin user open the private workspace ', async () => {});
});
@@ -5,13 +5,11 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
test.describe('cloud-sync', () => {
test('get cloud sync flag of workspace ', async () => {});
test('get cloud the sync flag of workspace ', async () => {});
test('enable cloud sync feature', async () => {});
test('enable [cloud sync feature]', async () => {});
test('close cloud sync feature', async () => {});
test('editor collaborate', async () => {});
test('close [cloud sync feature]', async () => {});
test('editor cloud storage', async () => {});
});
@@ -0,0 +1,15 @@
import { test, expect } from '@playwright/test';
import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
test.describe('collaborate', () => {
test('collaborate editor content', async () => {});
test('collaborate workspace name', async () => {});
test('collaborate workspace avator', async () => {});
test('collaborate workspace list', async () => {});
});
+3 -7
View File
@@ -5,15 +5,11 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
test.describe('share', () => {
test('get the public of workspace', async () => {});
test('make workspace public', async () => {});
test('make workspace private', async () => {});
test('invite member by email', async () => {});
test('add(invite) member by email', async () => {});
test('accept invite member link', async () => {});
test('members list', async () => {});
test('delete member', async () => {});
});