-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from axonivy/XIVY-12288/shorten-class-types
XIVY-12288 improve class type naming
- Loading branch information
Showing
11 changed files
with
142 additions
and
49 deletions.
There are no files selected for viewing
11 changes: 8 additions & 3 deletions
11
integrations/standalone/tests/integration/dataclass-editor-business-dataclass.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 8 additions & 3 deletions
11
integrations/standalone/tests/integration/dataclass-editor-dataclass.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
import { expect, test } from '@playwright/test'; | ||
import { DataClassEditor } from '../pageobjects/DataClassEditor'; | ||
|
||
test('load data', async ({ page }) => { | ||
const editor = await DataClassEditor.openDataClass(page, 'dataclasses/dataclass/Data.d.json'); | ||
let editor: DataClassEditor; | ||
|
||
test.beforeEach(async ({ page }) => { | ||
editor = await DataClassEditor.openDataClass(page, 'dataclasses/dataclass/Data.d.json'); | ||
}); | ||
|
||
test('load data', async () => { | ||
const table = editor.table; | ||
const detail = editor.detail; | ||
|
||
await detail.expectToHaveDataClassValues('Data Class', '', ''); | ||
await detail.expectToHaveDataClassValues('Data', '', ''); | ||
|
||
await expect(table.rows).toHaveCount(0); | ||
}); |
11 changes: 8 additions & 3 deletions
11
integrations/standalone/tests/integration/dataclass-editor-entityclass.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 60 additions & 7 deletions
67
packages/dataclass-editor/src/components/dataclass/data/dataclass-utils.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 34 additions & 2 deletions
36
packages/dataclass-editor/src/components/dataclass/data/dataclass-utils.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters