diff --git a/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-admin/dataSets.spec.ts b/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-admin/dataSets.spec.ts index 4784578395c21c..8e4fed6596a8a1 100644 --- a/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-admin/dataSets.spec.ts +++ b/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-admin/dataSets.spec.ts @@ -16,6 +16,7 @@ export const test = mergeTests( dataSetManagerApiHelpersTest, dataSetsPageTest, featureFlagsTest({ + 'LPD-25230': true, 'LPS-164563': true, }), loginTest(), @@ -31,6 +32,13 @@ const blogPostsDataSetConfig = { restSchema: 'BlogPosting', }; +const cartDataSetConfig = { + name: 'Carts', + restApplication: '/headless-commerce-delivery-cart/v1.0', + restEndpoint: '/v1.0/channels/{channelId}/account/{accountId}/carts', + restSchema: 'Cart', +}; + const catalogsDataSetConfig = { name: 'Catalog', restApplication: '/headless-commerce-admin-catalog/v1.0', @@ -200,6 +208,26 @@ test('Create parameterized data set via UI', async ({dataSetsPage, page}) => { }); }); +test( + 'Create parameterized data set with resolved parameters via UI', + {tag: '@LPD-25230'}, + async ({dataSetsPage, page}) => { + await test.step('Create Data Set', async () => { + await dataSetsPage.goto(); + await dataSetsPage.createDataSet(cartDataSetConfig); + }); + + await assertTableColumnLabels(page); + + await assertTableCellContent({dataSetConfig: cartDataSetConfig, page}); + + await assertTableActionLabels(page); + + await test.step('Delete Data Set', async () => { + await dataSetsPage.deleteDataSet(cartDataSetConfig.name); + }); +}) + test('Create data set via API', async ({ dataSetManagerApiHelpers, dataSetsPage, diff --git a/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-fragment/dataSets.spec.ts b/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-fragment/dataSets.spec.ts index 029a2701b4e83f..69fd07da886919 100644 --- a/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-fragment/dataSets.spec.ts +++ b/modules/test/playwright/tests/frontend-data-set-admin-web/tests/data-set-fragment/dataSets.spec.ts @@ -45,6 +45,14 @@ const adminUserDataSetConfig = { restSchema: 'Role', }; +const cartDataSetConfig = { + erc: getRandomString(), + label: getRandomString(), + restApplication: '/headless-commerce-delivery-cart/v1.0', + restEndpoint: '/v1.0/channels/{channelId}/account/{accountId}/carts', + restSchema: 'Cart', +}; + const structuredContentDataSetConfig = { erc: getRandomString(), label: getRandomString(),