mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
feat: add editor record (#7938)
fix CLOUD-58, CLOUD-61, CLOUD-62, PD-1607, PD-1608
This commit is contained in:
@@ -137,4 +137,6 @@ test('add custom property', async ({ page }) => {
|
||||
await addCustomProperty(page, 'Number');
|
||||
await addCustomProperty(page, 'Date');
|
||||
await addCustomProperty(page, 'Checkbox');
|
||||
await addCustomProperty(page, 'Created by');
|
||||
await addCustomProperty(page, 'Last edited by');
|
||||
});
|
||||
|
||||
@@ -85,6 +85,8 @@ test('add custom property', async ({ page }) => {
|
||||
await addCustomProperty(page, 'Number');
|
||||
await addCustomProperty(page, 'Date');
|
||||
await addCustomProperty(page, 'Checkbox');
|
||||
await addCustomProperty(page, 'Created by');
|
||||
await addCustomProperty(page, 'Last edited by');
|
||||
});
|
||||
|
||||
test('add custom property & edit', async ({ page }) => {
|
||||
@@ -103,6 +105,8 @@ test('property table reordering', async ({ page }) => {
|
||||
await addCustomProperty(page, 'Number');
|
||||
await addCustomProperty(page, 'Date');
|
||||
await addCustomProperty(page, 'Checkbox');
|
||||
await addCustomProperty(page, 'Created by');
|
||||
await addCustomProperty(page, 'Last edited by');
|
||||
|
||||
await dragTo(
|
||||
page,
|
||||
@@ -119,6 +123,8 @@ test('property table reordering', async ({ page }) => {
|
||||
'Date',
|
||||
'Checkbox',
|
||||
'Text',
|
||||
'Created by',
|
||||
'Last edited by',
|
||||
].entries()) {
|
||||
await expect(
|
||||
page
|
||||
@@ -141,6 +147,8 @@ test('page info show more will show all properties', async ({ page }) => {
|
||||
await addCustomProperty(page, 'Number');
|
||||
await addCustomProperty(page, 'Date');
|
||||
await addCustomProperty(page, 'Checkbox');
|
||||
await addCustomProperty(page, 'Created by');
|
||||
await addCustomProperty(page, 'Last edited by');
|
||||
|
||||
await expect(page.getByTestId('page-info-show-more')).toBeVisible();
|
||||
await page.click('[data-testid="page-info-show-more"]');
|
||||
@@ -156,6 +164,8 @@ test('page info show more will show all properties', async ({ page }) => {
|
||||
'Number',
|
||||
'Date',
|
||||
'Checkbox',
|
||||
'Created by',
|
||||
'Last edited by',
|
||||
].entries()) {
|
||||
await expect(
|
||||
page
|
||||
|
||||
Reference in New Issue
Block a user