From 34689ac0ef63cf90c3f6079a7035a42251319c95 Mon Sep 17 00:00:00 2001 From: Yi Yang Date: Thu, 22 Aug 2024 11:21:16 +0800 Subject: [PATCH] test(*): form button data-testid changes (#274) * test(*): form button data-testid changes * test(*): form button data-testid changes * chore(*): use published versions --- package.json | 26 +-- tests/playwright/commands/fillEntityForm.ts | 12 +- .../ca-certificates/01-CACertificates.spec.ts | 2 +- .../certificates/01-Certificates.spec.ts | 2 +- .../specs/consumers/01-Consumers.spec.ts | 10 +- .../consumers/03-ConsumerPlugins.spec.ts | 2 +- .../specs/key-sets/01-KeySets.spec.ts | 2 +- .../routes-expressions/01-Routes.spec.ts | 26 +-- .../playwright/specs/routes/01-Routes.spec.ts | 6 +- .../specs/services/01-Service.spec.ts | 8 +- .../specs/services/02-ServiceRoutes.spec.ts | 4 +- .../specs/services/03-ServicePlugins.spec.ts | 2 +- tests/playwright/specs/snis/01-SNIs.spec.ts | 2 +- yarn.lock | 173 +++++++++--------- 14 files changed, 142 insertions(+), 135 deletions(-) diff --git a/package.json b/package.json index 17ddd0c4..e9d62b73 100644 --- a/package.json +++ b/package.json @@ -24,19 +24,19 @@ }, "dependencies": { "@kong-ui-public/app-layout": "^4.2.24", - "@kong-ui-public/entities-certificates": "^3.5.2", - "@kong-ui-public/entities-consumer-credentials": "^3.2.33", - "@kong-ui-public/entities-consumers": "^3.4.2", - "@kong-ui-public/entities-data-plane-nodes": "^0.2.32", - "@kong-ui-public/entities-gateway-services": "^3.6.2", - "@kong-ui-public/entities-key-sets": "^3.4.2", - "@kong-ui-public/entities-keys": "^3.4.2", - "@kong-ui-public/entities-plugins": "^8.8.3", - "@kong-ui-public/entities-routes": "^3.2.0", - "@kong-ui-public/entities-shared": "^3.2.0", - "@kong-ui-public/entities-snis": "^3.4.2", - "@kong-ui-public/entities-upstreams-targets": "^3.4.2", - "@kong-ui-public/entities-vaults": "^3.10.2", + "@kong-ui-public/entities-certificates": "^3.5.4", + "@kong-ui-public/entities-consumer-credentials": "^3.2.35", + "@kong-ui-public/entities-consumers": "^3.4.4", + "@kong-ui-public/entities-data-plane-nodes": "^0.2.34", + "@kong-ui-public/entities-gateway-services": "^3.6.5", + "@kong-ui-public/entities-key-sets": "^3.4.4", + "@kong-ui-public/entities-keys": "^3.4.4", + "@kong-ui-public/entities-plugins": "^8.10.3", + "@kong-ui-public/entities-routes": "^3.6.6", + "@kong-ui-public/entities-shared": "^3.7.4", + "@kong-ui-public/entities-snis": "^3.4.4", + "@kong-ui-public/entities-upstreams-targets": "^3.4.4", + "@kong-ui-public/entities-vaults": "^3.10.4", "@kong-ui-public/forms": "^4.0.2", "@kong-ui-public/i18n": "^2.2.2", "@kong-ui-public/misc-widgets": "^2.1.14", diff --git a/tests/playwright/commands/fillEntityForm.ts b/tests/playwright/commands/fillEntityForm.ts index d1b7912b..cc7c568e 100644 --- a/tests/playwright/commands/fillEntityForm.ts +++ b/tests/playwright/commands/fillEntityForm.ts @@ -16,7 +16,7 @@ interface Params { method?: 'type' | 'fill'; /** - * If set to true, the helper assumes that a model will show up after performing the `*-submit` action. + * If set to true, the helper assumes that a modal will show up after performing the `*-submit` action. * And the primary button on the modal will be clicked. */ handleModal?: boolean; @@ -62,14 +62,12 @@ export const fillEntityForm = async (params: Params) => { } } - if (!withAction) { - return + if (withAction === 'submit') { + await page.getByTestId('form-actions').locator('.k-button.primary').click() + } else if (withAction === 'cancel') { + await page.getByTestId('form-actions').locator('.k-button.secondary').click() } - await page.getByTestId(`form-${withAction}`) - .or(page.getByTestId(`form-footer-action-${withAction}`)) - .click() - if (handleModal) { await page.locator('.modal-container .modal-footer .k-button.primary').click() } diff --git a/tests/playwright/specs/ca-certificates/01-CACertificates.spec.ts b/tests/playwright/specs/ca-certificates/01-CACertificates.spec.ts index fac2ceb5..f5ca420e 100644 --- a/tests/playwright/specs/ca-certificates/01-CACertificates.spec.ts +++ b/tests/playwright/specs/ca-certificates/01-CACertificates.spec.ts @@ -35,7 +35,7 @@ test.describe('CA certificates', () => { test('create a CA certificate - fail', async ({ page }) => { await page.getByTestId('new-ca-certificate').click() - await expect(page.getByTestId('form-submit')).toBeDisabled() + await expect(page.getByTestId('ca_certificate-form-submit')).toBeDisabled() }) test('create a CA certificate', async ({ page }) => { diff --git a/tests/playwright/specs/certificates/01-Certificates.spec.ts b/tests/playwright/specs/certificates/01-Certificates.spec.ts index b9ba4300..ef51bbd5 100644 --- a/tests/playwright/specs/certificates/01-Certificates.spec.ts +++ b/tests/playwright/specs/certificates/01-Certificates.spec.ts @@ -36,7 +36,7 @@ test.describe('certificates', () => { test('create a certificate - fail', async ({ page }) => { await page.getByTestId('new-certificate').click() await page.waitForSelector('.k-breadcrumbs', { state: 'hidden' }) - await expect(page.getByTestId('form-submit')).toBeDisabled() + await expect(page.getByTestId('certificate-form-submit')).toBeDisabled() }) test('create a certificate', async ({ page }) => { diff --git a/tests/playwright/specs/consumers/01-Consumers.spec.ts b/tests/playwright/specs/consumers/01-Consumers.spec.ts index 09f56b87..3d717811 100644 --- a/tests/playwright/specs/consumers/01-Consumers.spec.ts +++ b/tests/playwright/specs/consumers/01-Consumers.spec.ts @@ -41,14 +41,14 @@ test.describe('consumers', () => { await page.waitForSelector('.kong-ui-entities-consumer-form') // exit from cancel button - await expect(page.locator('[data-testid="form-cancel"]')).toContainText('Cancel') - await withNavigation(page, () => page.click('[data-testid="form-cancel"]')) + await expect(page.locator('[data-testid="consumer-form-cancel"]')).toContainText('Cancel') + await withNavigation(page, () => page.click('[data-testid="consumer-form-cancel"]')) }) test('consumer create - save button is disabled', async ({ page }) => { await withNavigation(page, () => page.click('.table-empty-state .primary')) await page.waitForSelector('.kong-ui-entities-consumer-form') - await expect(page.getByTestId('form-submit')).toBeDisabled() + await expect(page.getByTestId('consumer-form-submit')).toBeDisabled() }) test('consumer create - success', async ({ page }) => { @@ -79,7 +79,7 @@ test.describe('consumers', () => { // enter edit mode then cancel await withNavigation(page, () => clickEntityListAction(page, 'edit')) await page.waitForSelector('.kong-ui-entities-consumer-form') - await withNavigation(page, () => page.click('[data-testid="form-cancel"]')) + await withNavigation(page, () => page.click('[data-testid="consumer-form-cancel"]')) await page.waitForSelector('.kong-ui-entities-consumers-list') // enter edit mode then modify and save @@ -161,7 +161,7 @@ test.describe('consumers', () => { // enter edit mode then cancel await withNavigation(page, () => clickEntityListAction(page, 'edit')) await page.waitForSelector('.kong-ui-entities-consumer-form') - await withNavigation(page, () => page.click('[data-testid="form-cancel"]')) + await withNavigation(page, () => page.click('[data-testid="consumer-form-cancel"]')) await page.waitForSelector('.kong-ui-entities-consumers-list') // enter edit mode then modify and save diff --git a/tests/playwright/specs/consumers/03-ConsumerPlugins.spec.ts b/tests/playwright/specs/consumers/03-ConsumerPlugins.spec.ts index a54d4caa..86a374b7 100644 --- a/tests/playwright/specs/consumers/03-ConsumerPlugins.spec.ts +++ b/tests/playwright/specs/consumers/03-ConsumerPlugins.spec.ts @@ -70,7 +70,7 @@ test.describe('consumer plugins', () => { await page.locator('#tags').fill(`${mockTag}${mockTag}`) await withNavigation( page, - async () => await page.locator('[data-testid="form-cancel"]').click(), + async () => await page.locator('[data-testid="plugin-form-cancel"]').click(), ) await expect(page.locator('.k-table .table-wrapper [data-testid="tags"]')).toHaveText(mockTag) }) diff --git a/tests/playwright/specs/key-sets/01-KeySets.spec.ts b/tests/playwright/specs/key-sets/01-KeySets.spec.ts index 3e7d1463..724da333 100644 --- a/tests/playwright/specs/key-sets/01-KeySets.spec.ts +++ b/tests/playwright/specs/key-sets/01-KeySets.spec.ts @@ -29,7 +29,7 @@ test.describe('keySets', () => { test('cancel the creation of a key set', async ({ page }) => { await expect(page.locator('.table-empty-state')).toBeVisible() await withNavigation(page, () => page.locator('.table-empty-state .primary').click()) - await withNavigation(page, () => page.locator('.form-actions [data-testid="form-cancel"]').click()) + await withNavigation(page, () => page.locator('.form-actions [data-testid="set-form-cancel"]').click()) await expect(page.locator('.table-empty-state')).toBeVisible() }) diff --git a/tests/playwright/specs/routes-expressions/01-Routes.spec.ts b/tests/playwright/specs/routes-expressions/01-Routes.spec.ts index 0fc4c926..4c33d397 100644 --- a/tests/playwright/specs/routes-expressions/01-Routes.spec.ts +++ b/tests/playwright/specs/routes-expressions/01-Routes.spec.ts @@ -47,26 +47,26 @@ test.describe('route creation page', () => { // traditional tab should be active by default await expect(page.locator('#traditional-tab')).toHaveClass(/active/) // submit button should be disabled - await expect(page.getByTestId('form-submit')).toBeDisabled() + await expect(page.getByTestId('route-form-submit')).toBeDisabled() // fill in a path await page.getByTestId('route-form-paths-input-1').fill('/trad/1') // submit button should be enabled - await expect(page.getByTestId('form-submit')).toBeEnabled() + await expect(page.getByTestId('route-form-submit')).toBeEnabled() // switch to the expressions tab await page.locator('#expressions-tab').click() // submit button should be disabled again - await expect(page.getByTestId('form-submit')).toBeDisabled() + await expect(page.getByTestId('route-form-submit')).toBeDisabled() // switch back to the traditional tab await page.locator('#traditional-tab').click() // submit button should be enabled again - await expect(page.getByTestId('form-submit')).toBeEnabled() + await expect(page.getByTestId('route-form-submit')).toBeEnabled() // switch back to the expressions tab await page.locator('#expressions-tab').click() // submit button should be disabled again - await expect(page.getByTestId('form-submit')).toBeDisabled() + await expect(page.getByTestId('route-form-submit')).toBeDisabled() // the editor shows invalid because it is empty await expect(page.locator('.expression-editor')).toHaveClass(/invalid/) @@ -79,21 +79,21 @@ test.describe('route creation page', () => { // the editor should be no longer invalid await expect(page.locator('.expression-editor')).not.toHaveClass(/invalid/) // and the submit button should be enabled - await expect(page.getByTestId('form-submit')).toBeEnabled() + await expect(page.getByTestId('route-form-submit')).toBeEnabled() // delete the last character await page.keyboard.press('Backspace') // the editor should be invalid again await expect(page.locator('.expression-editor')).toHaveClass(/invalid/) // but the submit button is still enabled because we let the server handle uncaught errors - await expect(page.getByTestId('form-submit')).toBeEnabled() + await expect(page.getByTestId('route-form-submit')).toBeEnabled() }) test('view configuration', async ({ page }) => { await page.getByTestId('form-content').isVisible() // open the slide out - await page.getByTestId('form-view-configuration').click() + await page.getByTestId('route-form-view-configuration').click() await page.locator('#yaml-tab').click() const slideOutTabs = page.getByTestId('form-view-configuration-slideout-tabs') const configBlock = slideOutTabs.getByTestId('k-code-block').locator('code') @@ -146,7 +146,7 @@ test.describe('route creation page', () => { await page.getByTestId('route-form-name').fill('trad-1') await page.getByTestId('route-form-paths-input-1').fill('/trad/1') - const submit = page.getByTestId('form-submit') + const submit = page.getByTestId('route-form-submit') await expect(submit).toBeEnabled() await submit.click() @@ -172,7 +172,7 @@ test.describe('route creation page', () => { await editor.click() await page.keyboard.type('http.path == "/expr/1"') - const submit = page.getByTestId('form-submit') + const submit = page.getByTestId('route-form-submit') await expect(submit).toBeEnabled() await submit.click() @@ -202,7 +202,7 @@ test.describe('route creation page', () => { // switch back to the traditional tab await page.locator('#traditional-tab').click() - const submit = page.getByTestId('form-submit') + const submit = page.getByTestId('route-form-submit') await expect(submit).toBeEnabled() await submit.click() @@ -237,7 +237,7 @@ test.describe('route creation page', () => { // switch to the expressions tab await page.locator('#expressions-tab').click() - const submit = page.getByTestId('form-submit') + const submit = page.getByTestId('route-form-submit') await expect(submit).toBeEnabled() await submit.click() @@ -267,7 +267,7 @@ test.describe('route creation page', () => { // the editor shows invalid await expect(page.locator('.expression-editor')).toHaveClass(/invalid/) - const submit = page.getByTestId('form-submit') + const submit = page.getByTestId('route-form-submit') // we can still submit await expect(submit).toBeEnabled() diff --git a/tests/playwright/specs/routes/01-Routes.spec.ts b/tests/playwright/specs/routes/01-Routes.spec.ts index 68cd9bdd..7dabfc36 100644 --- a/tests/playwright/specs/routes/01-Routes.spec.ts +++ b/tests/playwright/specs/routes/01-Routes.spec.ts @@ -85,7 +85,7 @@ test.describe('routes', () => { await withNavigation(page, () => page.locator('.table-empty-state .primary').click(), ) - await page.locator('[data-testid="form-cancel"]').click() + await page.locator('[data-testid="route-form-cancel"]').click() await expectEmptyEntityList(page, 'routes', 'Configure a New Route') }) @@ -94,7 +94,7 @@ test.describe('routes', () => { page.locator('.table-empty-state .primary').click(), ) - await expect(page.locator('[data-testid="form-submit"]')).toBeDisabled() + await expect(page.locator('[data-testid="route-form-submit"]')).toBeDisabled() }) test('route create - cannot be submit if only protocol is clicked', async ({ page }) => { @@ -103,7 +103,7 @@ test.describe('routes', () => { ) await page.locator('[data-testid="route-form-protocols"]').fill('http') - await expect(page.locator('[data-testid="form-submit"]')).toBeDisabled() + await expect(page.locator('[data-testid="route-form-submit"]')).toBeDisabled() }) test('route create - fail with invalid paths', async ({ page }) => { diff --git a/tests/playwright/specs/services/01-Service.spec.ts b/tests/playwright/specs/services/01-Service.spec.ts index 38b8bf56..96da73ea 100644 --- a/tests/playwright/specs/services/01-Service.spec.ts +++ b/tests/playwright/specs/services/01-Service.spec.ts @@ -49,7 +49,7 @@ test.describe('services', () => { await withNavigation(page, () => page.locator('.table-empty-state .primary').click(), ) - await page.getByTestId('form-cancel').click() + await page.getByTestId('service-form-cancel').click() await expectEmptyEntityList(page, 'gateway-services', 'Configure a New Gateway Service') }) @@ -61,7 +61,7 @@ test.describe('services', () => { page, formData: { 'gateway-service-name-input': 'mockbin.service' }, }) - await expect(page.getByTestId('form-submit')).toBeDisabled() + await expect(page.getByTestId('service-form-submit')).toBeDisabled() }) test('service create - successful create', async ({ page }) => { @@ -301,7 +301,7 @@ test.describe('services', () => { await expect(page.getByTestId('gateway-service-tls-verify-checkbox')).not.toBeChecked() await page.getByTestId('gateway-service-tls-verify-checkbox').click() await page.getByTestId('gateway-service-tls-verify-false-option').click() - await withNavigation(page, () => page.getByTestId('form-submit').click()) + await withNavigation(page, () => page.getByTestId('service-form-submit').click()) await expect(page.locator('[data-testid="tls_verify-property-value"]')).toHaveText('Off') await waitAndDismissToasts(page) @@ -310,7 +310,7 @@ test.describe('services', () => { await expect(page.getByTestId('gateway-service-tls-verify-false-option')).toBeChecked() await page.getByTestId('gateway-service-tls-verify-true-option').click() - await withNavigation(page, () => page.getByTestId('form-submit').click()) + await withNavigation(page, () => page.getByTestId('service-form-submit').click()) await expect(page.locator('[data-testid="tls_verify-property-value"]')).toHaveText('On') await waitAndDismissToasts(page) diff --git a/tests/playwright/specs/services/02-ServiceRoutes.spec.ts b/tests/playwright/specs/services/02-ServiceRoutes.spec.ts index 6078dc5d..6aed9260 100644 --- a/tests/playwright/specs/services/02-ServiceRoutes.spec.ts +++ b/tests/playwright/specs/services/02-ServiceRoutes.spec.ts @@ -56,7 +56,7 @@ test.describe('service routes', () => { ) await expect(page.locator('.kong-ui-entities-route-form')).toBeVisible() - await page.locator('[data-testid="form-cancel"]').click() + await page.locator('[data-testid="route-form-cancel"]').click() await expectEmptyEntityList(page, 'routes', 'Configure a New Route') }) @@ -69,7 +69,7 @@ test.describe('service routes', () => { page.locator('.kong-ui-entities-routes-list .table-empty-state .primary').click(), ) - await expect(page.locator('[data-testid="form-submit"]')).toBeDisabled() + await expect(page.locator('[data-testid="route-form-submit"]')).toBeDisabled() }) test('create an service-associated route via tab', async ({ page }) => { diff --git a/tests/playwright/specs/services/03-ServicePlugins.spec.ts b/tests/playwright/specs/services/03-ServicePlugins.spec.ts index b2471e76..df29d708 100644 --- a/tests/playwright/specs/services/03-ServicePlugins.spec.ts +++ b/tests/playwright/specs/services/03-ServicePlugins.spec.ts @@ -91,7 +91,7 @@ test.describe('service plugins', () => { await withNavigation(page, () => page .locator('[data-testid="form-actions"]') - .locator('[data-testid="form-cancel"]') + .locator('[data-testid="plugin-form-cancel"]') .click(), ) await page.waitForSelector('.kong-ui-entities-plugins-list') diff --git a/tests/playwright/specs/snis/01-SNIs.spec.ts b/tests/playwright/specs/snis/01-SNIs.spec.ts index a28c2498..3dc03772 100644 --- a/tests/playwright/specs/snis/01-SNIs.spec.ts +++ b/tests/playwright/specs/snis/01-SNIs.spec.ts @@ -57,7 +57,7 @@ test.describe('snis', () => { await page.locator('[data-testid="sni-form-certificate-id"]').fill(certificate.id) await (await page.waitForSelector(`[data-testid="select-item-${certificate.id}"]`)).click() - await expect(page.locator('[data-testid="form-submit"]')).toBeDisabled() + await expect(page.locator('[data-testid="sni-form-submit"]')).toBeDisabled() }) test('create an sni', async ({ page }) => { diff --git a/yarn.lock b/yarn.lock index 5d95dc56..6a52a5ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -408,141 +408,141 @@ dependencies: date-fns "^2.30.0" -"@kong-ui-public/entities-certificates@^3.5.2": - version "3.5.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-certificates/-/entities-certificates-3.5.2.tgz#44e028a81c6bfa74eff740b618275f9e508d0bde" - integrity sha512-oEplUatmw38uA9o2/n60GLKbgorL3lSPa4pGnUhpX1slwAttAc9HEQljB868O6GYbZNGLo+vFilh1PMxDHYuWQ== +"@kong-ui-public/entities-certificates@^3.5.4": + version "3.5.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-certificates/-/entities-certificates-3.5.4.tgz#7573f379ca2a85ddfb5c4365821b0c3a2f182451" + integrity sha512-ThdxEyPprKBJuRKXoQUeGSRXc8y1mA1ZKXEDC20LXsVlXHAr0mTgVSdyWPqlSzdT97dlxki613wzVkhd2j8uVg== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" "@peculiar/x509" "^1.9.7" -"@kong-ui-public/entities-consumer-credentials@^3.2.33": - version "3.2.33" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-consumer-credentials/-/entities-consumer-credentials-3.2.33.tgz#f825279c774170d786ea90c1dd13fc4c937418f0" - integrity sha512-Bu5TsNdee01NkionoOpeDrwCYpfCmW117BdTel7TJzAaOGBuKHzUNqghTb20PmPcg7vfVThmjHZaiDlzzvZGvg== +"@kong-ui-public/entities-consumer-credentials@^3.2.35": + version "3.2.35" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-consumer-credentials/-/entities-consumer-credentials-3.2.35.tgz#881b76bfba3f5d540f643f482dfbaae7e040cfd0" + integrity sha512-qVBWik8a25DBq4i7Harlvn8QNjJD3Cs2UOey3PgFyr/RMoqZs64on4BUQc4mff0QEYAmQolNgAopk8+Ym0CONA== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-consumer-groups@^3.4.2": - version "3.4.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-consumer-groups/-/entities-consumer-groups-3.4.2.tgz#8ec9c612c36f5cddf51c6de7b8f1289b6f53f2bc" - integrity sha512-ZbVh1LTZ0HxZcGoYZLHNy9YUKUmpi4LFQ/HpNsCW1h0dOYT5X9xd2m6GbNLNxfPm9llg8oaYTchm0mHL8Coyxg== +"@kong-ui-public/entities-consumer-groups@^3.4.4": + version "3.4.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-consumer-groups/-/entities-consumer-groups-3.4.4.tgz#d712c64e0f83ea53c7789a3ed346e06df8e3e939" + integrity sha512-V82wMiZyqFIblGMtbvyffV8zKjU3bKrZYF4bVvbv79Nd1InhrLu8j3mu6t0JI/Tdp1sVxKKXfIkqth+8838qVQ== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-consumers@^3.4.2": - version "3.4.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-consumers/-/entities-consumers-3.4.2.tgz#92745a3dde5dba9b9cfc91a3cf628e8e577898a4" - integrity sha512-BukiTRuOQ39P16fiZw/3xY6YDEmYfN9ZB+/xSMMROFAMNZ1qfH0TEI6d1PN9DMdr3xc+DsGThMSjfXdJ/WyYGA== +"@kong-ui-public/entities-consumers@^3.4.4": + version "3.4.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-consumers/-/entities-consumers-3.4.4.tgz#6ebbb5052cd90202c351278bdcaac3fe758d4090" + integrity sha512-dHQCJKd6h8CIQ3hf1MaoNW91uEpQQDlHlZgKMBISgooemD+8Xi/2zFpBsvbnAoTCVsK1H8NUg/fQAqVqOFFFiQ== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-data-plane-nodes@^0.2.32": - version "0.2.32" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-data-plane-nodes/-/entities-data-plane-nodes-0.2.32.tgz#92fd5dac9a68bfd2dd9464554edd9b386895993d" - integrity sha512-JFKWkfTwwBgdj74vuj7n3ayb5uz1iFYMJ7oHeaMHqvDpqlf0q8JjH+ipni4pKOdP+InzbLG1TMchUNQiNSBZFQ== +"@kong-ui-public/entities-data-plane-nodes@^0.2.34": + version "0.2.34" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-data-plane-nodes/-/entities-data-plane-nodes-0.2.34.tgz#3a42b34b6a3d5d33e6f0e98c9644d91698bafaf9" + integrity sha512-wKNy0fScUrrklc+sWCxh+5ObrPljoG8jmT+Clr4Mh7LVZdqizGaej0rf4mGtyg6f8GB8e4Ms8qZGoTO9Y83pDw== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-gateway-services@^3.6.2": - version "3.6.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-gateway-services/-/entities-gateway-services-3.6.2.tgz#6bc83cde5a3735b8879aa346baa14a16517ab7e6" - integrity sha512-8ohnnmUPJ5zH2ecBbJLmVhIp2JTolQcjzmusOjttkAlXmSEOv37K08K+txmKKVupJa1558HS35VjyydGWf029w== +"@kong-ui-public/entities-gateway-services@^3.6.5": + version "3.6.5" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-gateway-services/-/entities-gateway-services-3.6.5.tgz#554b51ef78756242147eeced86df4f6597fce81a" + integrity sha512-ZL1aFyQr0aGn1bjjGErY790Wxmkja/YD/jqoWsS7KuIernXzlfL7ErEzzpSa2uUZ2p3kPiYm99ETIEtqtjWUXw== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-key-sets@^3.4.2": - version "3.4.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-key-sets/-/entities-key-sets-3.4.2.tgz#729db94e6a9f6bc0730da9e1e16cfcda4bd8c6de" - integrity sha512-ElbzBBZ3ON8tao16L9QQR7cpEEqEoEUTZd0EUoY+pGG7DdVcSgthG80CnrBSAS57Qd6XG0uaTPgGdLMMEVitqQ== +"@kong-ui-public/entities-key-sets@^3.4.4": + version "3.4.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-key-sets/-/entities-key-sets-3.4.4.tgz#bdc06643787aec2572ffd1ac69970603ba3348a7" + integrity sha512-CiFH9xFchT5HgE0a9dO5/39uDItitNVQ97x7OeOLRoLH7EQh39ke0A6KUnHnuuPfN6pFcu8dIwvn/fH48pTi/w== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-keys@^3.4.2": - version "3.4.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-keys/-/entities-keys-3.4.2.tgz#0a0ec4777584deff2c1fcd17e4183f127efc5280" - integrity sha512-emJooVYD76cAETZtdMm/qkHhmIkxS6TnFIdpXN0f+4GjmkYKHAHhObCErC+N52Inag38R3N+fkrk9LiukfUEbQ== +"@kong-ui-public/entities-keys@^3.4.4": + version "3.4.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-keys/-/entities-keys-3.4.4.tgz#2d9dc9f390c71a026fa4fc4ea27b418ce5c6ff37" + integrity sha512-Z6VHtMYr6urFCZzDonPJkREt+hGGVnddqULQ2sRl0ChS4wH81SKTGFdTOnIzknzl0qFxdl54J91XJWNqkYLBfQ== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-plugins@^8.8.3": - version "8.8.3" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-plugins/-/entities-plugins-8.8.3.tgz#168526f23a3542e182c645d6010c3b05aef84a90" - integrity sha512-yc8Aj/o8Vm1tdPWBspb0rgx4SJoqdpElt23VgKpwq3GThh4WTJ7S4ZVrWukJT1XtipXN9KmI18FHBy6Q8HWGTA== - dependencies: - "@kong-ui-public/entities-consumer-groups" "^3.4.2" - "@kong-ui-public/entities-consumers" "^3.4.2" - "@kong-ui-public/entities-gateway-services" "^3.6.2" - "@kong-ui-public/entities-routes" "^3.6.3" - "@kong-ui-public/entities-shared" "^3.7.2" - "@kong-ui-public/forms" "^4.3.4" +"@kong-ui-public/entities-plugins@^8.10.3": + version "8.10.3" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-plugins/-/entities-plugins-8.10.3.tgz#e819d17ed9360e54b315d849174cabbf4d369f20" + integrity sha512-oKPu3io8LgijyUk2nVmvx305X2M5z8e4RYJVUr8DvXTTuDiNuxcFyeMniytYmvJlV23nwqC2Gf4UIARZPsRsqg== + dependencies: + "@kong-ui-public/entities-consumer-groups" "^3.4.4" + "@kong-ui-public/entities-consumers" "^3.4.4" + "@kong-ui-public/entities-gateway-services" "^3.6.5" + "@kong-ui-public/entities-routes" "^3.6.6" + "@kong-ui-public/entities-shared" "^3.7.4" + "@kong-ui-public/forms" "^4.5.0" "@kong/icons" "^1.15.1" marked "^12.0.2" -"@kong-ui-public/entities-routes@^3.2.0", "@kong-ui-public/entities-routes@^3.6.3": - version "3.6.3" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-routes/-/entities-routes-3.6.3.tgz#770c52e3cc7ef052d2a6dd2374f70a3934123427" - integrity sha512-KkZfg1nSlUAt+fpYvgzVGpgsBGJ+d5OVCfNu2WT0ZDft1k7rRg82XObsi2O0bRrSGKWFaHXj59FseEcE3xV+bA== +"@kong-ui-public/entities-routes@^3.6.6": + version "3.6.6" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-routes/-/entities-routes-3.6.6.tgz#f4bb3822be30c37f6b9f834d0d6e9e195262d4ae" + integrity sha512-MvhdH/RUFMY9oDW3FIhcZOX8XW7UswxUa1MAh4lRrX5d8Z2LMHQNVDakh0xu0OK6VyMpe6o8I78L0uoQqi0Ziw== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" - "@kong-ui-public/expressions" "^0.4.7" + "@kong-ui-public/entities-shared" "^3.7.4" + "@kong-ui-public/expressions" "^0.4.9" "@kong/icons" "^1.15.1" lodash.isequal "^4.5.0" -"@kong-ui-public/entities-shared@^3.2.0", "@kong-ui-public/entities-shared@^3.7.2": - version "3.7.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-shared/-/entities-shared-3.7.2.tgz#97eefbd9b655516fa1fc43cc7f2b65959fca7816" - integrity sha512-tfD4r5Eiby4Dc9QPQmLuvlt8gNgihBCwOBuip7vloyH12XcLEp0/C+d7M0t0LoGYC/+t6Oo9NDVROQ+uhooAdg== +"@kong-ui-public/entities-shared@^3.7.4": + version "3.7.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-shared/-/entities-shared-3.7.4.tgz#cdf5f83c3eb70574c6d9abb9a6afc17c18475f5a" + integrity sha512-Ezxo5P7VAFXMux0aLamSxuhs2nMqBpT765dxr5dxAxzhclfFkrUjHLX9znjFZDukqJHkF9phSWYjqA+1wlA0sg== dependencies: "@kong-ui-public/core" "^1.7.8" "@kong/icons" "^1.15.1" compare-versions "^6.1.0" -"@kong-ui-public/entities-snis@^3.4.2": - version "3.4.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-snis/-/entities-snis-3.4.2.tgz#40758a9f877504f09f77ab0f26469983206fb377" - integrity sha512-lJ8rqaAOhARf4I9K+ofLhjjqDGDVtr9o2/Cr99EyzCrX3JT7jocun/61XjuuyGyk+oGTtSajPZBjHOTU+8Eqag== +"@kong-ui-public/entities-snis@^3.4.4": + version "3.4.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-snis/-/entities-snis-3.4.4.tgz#57493ff1ca221268d6dc409145602a64ccc07068" + integrity sha512-pNSpESllKAuMApUcsxHMyuFetNzOneNW5DvGoaJxfd7tzpCDXIn3scRZz76tbm4M9BDlTzNhYeiOmTjKydQuHg== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-upstreams-targets@^3.4.2": - version "3.4.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-upstreams-targets/-/entities-upstreams-targets-3.4.2.tgz#2eae300c4e5264a7e22d77f46b5fa50c929a5b8d" - integrity sha512-FgY0icS0Z39+6TgVQcRQwHDLoEHmpVu91GzAVsA2jN3KKxzQpR/rcUBZAUFjK/QfPy2CHov/kxlXmdFHNtoCpw== +"@kong-ui-public/entities-upstreams-targets@^3.4.4": + version "3.4.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-upstreams-targets/-/entities-upstreams-targets-3.4.4.tgz#9e624569e13f02abdd8bc094a3defb4c098a3f25" + integrity sha512-pYJT/8RliBwQn983BIlfeR1J+CierWvOXwsPYkmpodQ4oPR1JRxphkmLMBZ1y4SHxRXMkhsHMxmmQNqdKIezIg== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-vaults@^3.10.2": - version "3.10.2" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-vaults/-/entities-vaults-3.10.2.tgz#7c4673ce97f01b88fe29e7a6d945a7ceca4d8ebd" - integrity sha512-Ou2ywBAOf+2GWBeS1A/lUWa8NC7Ra2L0Q6Q8U8eRSwBWwHpAtvtkuPd+PWR3PXu4WUCE+Mzb60MSdqgXRjJecA== +"@kong-ui-public/entities-vaults@^3.10.4": + version "3.10.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-vaults/-/entities-vaults-3.10.4.tgz#61d726488e3cf328d1eda2831462188ff676da99" + integrity sha512-jfzecR42mWFnn7UtTni1A6Gi1wp9oGg4gOVAF76mDMaZpAXadfEyQG26+S+3QJ6Y0EM2CaoPYxabrSZPa4EcXQ== dependencies: - "@kong-ui-public/entities-shared" "^3.7.2" + "@kong-ui-public/entities-shared" "^3.7.4" "@kong/icons" "^1.15.1" -"@kong-ui-public/expressions@^0.4.7": - version "0.4.7" - resolved "https://registry.yarnpkg.com/@kong-ui-public/expressions/-/expressions-0.4.7.tgz#33d1610f5d5076f50c3999e6f8a4b51fd3b4c770" - integrity sha512-mu2bMKrAVAAjPwwMGRIwKpWaFq6bGSTSPexD/hjriawtNmFzNQyWxQoYngGk4RP6oqTVUlLVaPIXBQ9qCjkUWQ== +"@kong-ui-public/expressions@^0.4.9": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@kong-ui-public/expressions/-/expressions-0.4.9.tgz#b81a514e569d1bd20b8d2224871c7dd294bc7005" + integrity sha512-P6iYSRPlJYBnP/6cQCh31uATLCGkRAenfEkF2S/rVk/IHcjNxQudToeM4Frw2FOasfaaiDXNGqfACsITzBqOxw== dependencies: "@kong-ui-public/core" "^1.7.8" - "@kong-ui-public/forms" "^4.3.4" + "@kong-ui-public/forms" "^4.5.0" "@kong-ui-public/i18n" "^2.2.2" "@kong/icons" "^1.14.3" monaco-editor "0.21.3" uuid "^9.0.1" -"@kong-ui-public/forms@^4.0.2", "@kong-ui-public/forms@^4.3.4": +"@kong-ui-public/forms@^4.0.2": version "4.3.4" resolved "https://registry.yarnpkg.com/@kong-ui-public/forms/-/forms-4.3.4.tgz#a5d821692e7020f53e0a9cbe93c11a410732689a" integrity sha512-8GhR3J72FgqE5CIJz0yFAdVJDTY3UwnXWcIXa0FzCOPhIvFJ1I9LikBuA6+ukpLs2UjKHcQ2LXkZe4tWgBJJ3g== @@ -551,6 +551,15 @@ fecha "^4.2.3" lodash-es "^4.17.21" +"@kong-ui-public/forms@^4.5.0": + version "4.5.0" + resolved "https://registry.yarnpkg.com/@kong-ui-public/forms/-/forms-4.5.0.tgz#0ec56f923fe25f4e2db5fed1a9f80539c03bce39" + integrity sha512-8iYbRw97smw9fm6jF1V4y9btopEEC0wkb5MVKLa16bA5qNRAP0flSKu2fBfPazzNUnMI1+cj9VNsRJ6ZFpSGHA== + dependencies: + "@kong/icons" "^1.15.1" + fecha "^4.2.3" + lodash-es "^4.17.21" + "@kong-ui-public/i18n@^2.2.2": version "2.2.2" resolved "https://registry.yarnpkg.com/@kong-ui-public/i18n/-/i18n-2.2.2.tgz#0afe5008bde9303c770559382e9c2f07b1f40437"