|
13 | 13 | import { CUSTOM_PROPERTIES_ENTITIES } from '../../constant/customProperty'; |
14 | 14 | import { TableClass } from '../../support/entity/TableClass'; |
15 | 15 | import { test } from '../../support/fixtures/userPages'; |
16 | | -import { createNewPage, redirectToHomePage, uuid } from '../../utils/common'; |
| 16 | +import { createNewPage, redirectToHomePage } from '../../utils/common'; |
17 | 17 | import { |
18 | 18 | addCustomPropertiesForEntity, |
19 | 19 | deleteCreatedProperty, |
@@ -43,7 +43,7 @@ test.describe('Custom properties with custom property config', () => { |
43 | 43 |
|
44 | 44 | test.describe('Add update and delete Enum custom properties', () => { |
45 | 45 | Object.values(CUSTOM_PROPERTIES_ENTITIES).forEach(async (entity) => { |
46 | | - const propertyName = `pwcustomproperty${entity.name}test${uuid()}`; |
| 46 | + const propertyName = `pwcp${Date.now()}test${entity.name}`; |
47 | 47 |
|
48 | 48 | test(`Add Enum custom property for ${entity.name}`, async ({ page }) => { |
49 | 49 | await settingClick( |
@@ -100,7 +100,7 @@ test.describe('Custom properties with custom property config', () => { |
100 | 100 |
|
101 | 101 | test.describe('Add update and delete Table custom properties', () => { |
102 | 102 | Object.values(CUSTOM_PROPERTIES_ENTITIES).forEach(async (entity) => { |
103 | | - const propertyName = `pwcustomproperty${entity.name}test${uuid()}`; |
| 103 | + const propertyName = `pwcp${Date.now()}test${entity.name}`; |
104 | 104 |
|
105 | 105 | test(`Add Table custom property for ${entity.name}`, async ({ page }) => { |
106 | 106 | await settingClick( |
@@ -161,7 +161,7 @@ test.describe('Custom properties with custom property config', () => { |
161 | 161 | 'Add update and delete Entity Reference custom properties', |
162 | 162 | () => { |
163 | 163 | Object.values(CUSTOM_PROPERTIES_ENTITIES).forEach(async (entity) => { |
164 | | - const propertyName = `pwcustomproperty${entity.name}test${uuid()}`; |
| 164 | + const propertyName = `pwcp${Date.now()}test${entity.name}`; |
165 | 165 |
|
166 | 166 | test(`Add Entity Reference custom property for ${entity.name}`, async ({ |
167 | 167 | page, |
@@ -223,7 +223,7 @@ test.describe('Custom properties with custom property config', () => { |
223 | 223 | 'Add update and delete Entity Reference List custom properties', |
224 | 224 | () => { |
225 | 225 | Object.values(CUSTOM_PROPERTIES_ENTITIES).forEach(async (entity) => { |
226 | | - const propertyName = `pwcustomproperty${entity.name}test${uuid()}`; |
| 226 | + const propertyName = `pwcp${Date.now()}test${entity.name}`; |
227 | 227 |
|
228 | 228 | test(`Add Entity Reference list custom property for ${entity.name}`, async ({ |
229 | 229 | page, |
@@ -287,7 +287,7 @@ test.describe('Custom properties with custom property config', () => { |
287 | 287 |
|
288 | 288 | test.describe('Add update and delete Date custom properties', () => { |
289 | 289 | Object.values(CUSTOM_PROPERTIES_ENTITIES).forEach(async (entity) => { |
290 | | - const propertyName = `pwcustomproperty${entity.name}test${uuid()}`; |
| 290 | + const propertyName = `pwcp${Date.now()}test${entity.name}`; |
291 | 291 |
|
292 | 292 | test(`Add Date custom property for ${entity.name}`, async ({ page }) => { |
293 | 293 | await settingClick( |
@@ -338,7 +338,7 @@ test.describe('Custom properties with custom property config', () => { |
338 | 338 |
|
339 | 339 | test.describe('Add update and delete Time custom properties', () => { |
340 | 340 | Object.values(CUSTOM_PROPERTIES_ENTITIES).forEach(async (entity) => { |
341 | | - const propertyName = `pwcustomproperty${entity.name}test${uuid()}`; |
| 341 | + const propertyName = `pwcp${Date.now()}test${entity.name}`; |
342 | 342 |
|
343 | 343 | test(`Add Time custom property for ${entity.name}`, async ({ page }) => { |
344 | 344 | await settingClick( |
@@ -395,7 +395,7 @@ test.describe('Custom properties with custom property config', () => { |
395 | 395 |
|
396 | 396 | test.describe('Add update and delete DateTime custom properties', () => { |
397 | 397 | Object.values(CUSTOM_PROPERTIES_ENTITIES).forEach(async (entity) => { |
398 | | - const propertyName = `pwcustomproperty${entity.name}test${uuid()}`; |
| 398 | + const propertyName = `pwcp${Date.now()}test${entity.name}`; |
399 | 399 |
|
400 | 400 | test(`Add DateTime custom property for ${entity.name}`, async ({ |
401 | 401 | page, |
|
0 commit comments