Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump the kong-packages group with 20 updates #207

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@
"src/**/*.{css,scss,sass,less,styl,vue}": "stylelint --allow-empty-input --fix 'src/**/*.{css,scss,sass,less,styl,vue}'"
},
"dependencies": {
"@kong-ui-public/app-layout": "^4.0.20",
"@kong-ui-public/entities-certificates": "^3.0.0",
"@kong-ui-public/entities-consumer-credentials": "^3.0.0",
"@kong-ui-public/entities-consumers": "^3.0.0",
"@kong-ui-public/entities-gateway-services": "^3.0.0",
"@kong-ui-public/entities-key-sets": "^3.0.0",
"@kong-ui-public/entities-keys": "^3.0.0",
"@kong-ui-public/entities-plugins": "^3.0.0",
"@kong-ui-public/app-layout": "^4.0.21",
"@kong-ui-public/entities-certificates": "^3.0.3",
"@kong-ui-public/entities-consumer-credentials": "^3.0.3",
"@kong-ui-public/entities-consumers": "^3.0.3",
"@kong-ui-public/entities-gateway-services": "^3.0.3",
"@kong-ui-public/entities-key-sets": "^3.0.3",
"@kong-ui-public/entities-keys": "^3.0.3",
"@kong-ui-public/entities-plugins": "^3.0.4",
"@kong-ui-public/entities-routes": "^3.0.0",
"@kong-ui-public/entities-shared": "^3.0.0",
"@kong-ui-public/entities-snis": "^3.0.0",
"@kong-ui-public/entities-upstreams-targets": "^3.0.0",
"@kong-ui-public/entities-vaults": "^3.0.0",
"@kong-ui-public/entities-snis": "^3.0.3",
"@kong-ui-public/entities-upstreams-targets": "^3.0.3",
"@kong-ui-public/entities-vaults": "^3.0.3",
"@kong-ui-public/forms": "^2.1.28",
"@kong-ui-public/i18n": "^2.1.4",
"@kong-ui-public/misc-widgets": "^2.0.34",
"@kong-ui-public/i18n": "^2.1.5",
"@kong-ui-public/misc-widgets": "^2.0.35",
"@kong/icons": "^1.8.8",
"@kong/kongponents": "^9.0.0-alpha.127",
"@kong/kongponents": "^9.0.0-alpha.131",
"@material-design-icons/font": "^0.14.9",
"axios": "^1.6.0",
"marked": "^5.1.0",
Expand All @@ -49,7 +49,7 @@
"vue-router": "^4.2.2"
},
"devDependencies": {
"@kong/design-tokens": "^1.12.10",
"@kong/design-tokens": "^1.12.11",
"@playwright/test": "^1.43.0",
"@types/lodash-es": "^4.17.12",
"@types/marked": "^5.0.1",
Expand Down
11 changes: 7 additions & 4 deletions tests/playwright/commands/expandAdvancedFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ import type { Page } from '@playwright/test'

// This command expands advanced fields in plugin form
export const expandAdvancedFields = async (page: Page) => {
await page.waitForSelector('.entity-form .vue-form-generator')
const advancedFields = page.locator('.k-collapse').last()
await page
.locator('.entity-form > .vue-form-generator > fieldset')
.or(page.locator('.entity-form .k-tabs')) // for oidc plugin
.waitFor({ state: 'attached' })
const advancedFieldsExpandTrigger = page.locator('.k-collapse.nested-collapse .k-collapse-trigger-chevron.kong-icon-chevronRight')

if (await advancedFields.isVisible() && await advancedFields.locator('.k-collapse-hidden-content').isHidden()) {
await advancedFields.locator('.k-collapse-trigger-icon').click()
if (await advancedFieldsExpandTrigger.isVisible()) {
await advancedFieldsExpandTrigger.click()
}
}
2 changes: 2 additions & 0 deletions tests/playwright/specs/consumers/03-ConsumerPlugins.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ test.describe('consumer plugins', () => {
await withNavigation(page, async () => await clickEntityListAction(page, 'view'))
await switchDetailTab(page, 'plugins')
await clickEntityListAction(page, 'edit')
await expandAdvancedFields(page)
await page.locator('#tags').fill(mockTag)
await withNavigation(
page,
Expand All @@ -65,6 +66,7 @@ test.describe('consumer plugins', () => {
await expect(page.locator('.k-table [data-testid="tags"]')).toHaveText(mockTag)

await withNavigation(page, () => clickEntityListAction(page, 'edit'))
await expandAdvancedFields(page)
await page.locator('#tags').fill(`${mockTag}${mockTag}`)
await withNavigation(
page,
Expand Down
Loading
Loading