mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
tests: add tests
This commit is contained in:
@@ -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 () => {});
|
||||
});
|
||||
@@ -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 () => {});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user