feat: update field name

This commit is contained in:
DarkSky
2024-08-23 13:19:09 +08:00
parent 9f74d17d67
commit 1e1a9552c0
3 changed files with 7 additions and 7 deletions
@@ -138,5 +138,5 @@ test('add custom property', async ({ page }) => {
await addCustomProperty(page, 'Date');
await addCustomProperty(page, 'Checkbox');
await addCustomProperty(page, 'Created by');
await addCustomProperty(page, 'Updated by');
await addCustomProperty(page, 'Last edited by');
});
@@ -86,7 +86,7 @@ test('add custom property', async ({ page }) => {
await addCustomProperty(page, 'Date');
await addCustomProperty(page, 'Checkbox');
await addCustomProperty(page, 'Created by');
await addCustomProperty(page, 'Updated by');
await addCustomProperty(page, 'Last edited by');
});
test('add custom property & edit', async ({ page }) => {
@@ -106,7 +106,7 @@ test('property table reordering', async ({ page }) => {
await addCustomProperty(page, 'Date');
await addCustomProperty(page, 'Checkbox');
await addCustomProperty(page, 'Created by');
await addCustomProperty(page, 'Updated by');
await addCustomProperty(page, 'Last edited by');
await dragTo(
page,
@@ -124,7 +124,7 @@ test('property table reordering', async ({ page }) => {
'Checkbox',
'Text',
'Created by',
'Updated by',
'Last edited by',
].entries()) {
await expect(
page
@@ -148,7 +148,7 @@ test('page info show more will show all properties', async ({ page }) => {
await addCustomProperty(page, 'Date');
await addCustomProperty(page, 'Checkbox');
await addCustomProperty(page, 'Created by');
await addCustomProperty(page, 'Updated 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"]');
@@ -165,7 +165,7 @@ test('page info show more will show all properties', async ({ page }) => {
'Date',
'Checkbox',
'Created by',
'Updated by',
'Last edited by',
].entries()) {
await expect(
page