Skip to content

Commit

Permalink
chore(*): Kongponents reskin phase 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Mar 1, 2024
1 parent 75bfa3a commit ded5043
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@kong-ui-public/i18n": "^2.1.3",
"@kong-ui-public/misc-widgets": "^2.0.24",
"@kong/icons": "^1.8.8",
"@kong/kongponents": "^9.0.0-alpha.106",
"@kong/kongponents": "^9.0.0-alpha.108",
"@material-design-icons/font": "^0.14.9",
"axios": "^1.6.0",
"marked": "^5.1.0",
Expand Down
6 changes: 3 additions & 3 deletions tests/playwright/commands/waitAndDismissToast.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { Page } from '@playwright/test'

export const waitAndDismissToasts = async (page: Page) => {
await page.waitForSelector('.toaster-item')
const locators = page.locator('.toaster-item button.close')
await page.waitForSelector('.toaster')
const locators = page.locator('.toaster .close-icon')

for (let i = 0; i < await locators.count(); i++) {
await locators.nth(i).click()
}

await page.waitForSelector('.toaster-item', { state: 'hidden' })
await page.waitForSelector('.toaster', { state: 'hidden' })
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,10 @@
resolved "https://registry.yarnpkg.com/@kong/icons/-/icons-1.8.14.tgz#3219563df669b8bb3e260df12ac211a5072938e6"
integrity sha512-nJUTtLpqelKCTY8lS8VByWaHYUq1CuB5cBUX/q2FEDu5o6IKH/B7fEDQpb/pB1lLRYTqZXneHR/lGYjxy4u8eQ==

"@kong/kongponents@^9.0.0-alpha.106":
version "9.0.0-alpha.106"
resolved "https://registry.yarnpkg.com/@kong/kongponents/-/kongponents-9.0.0-alpha.106.tgz#9402ed502b3a45426c0c9d99348a59881210fe3c"
integrity sha512-fFHe2cZDNu1M3VnY/9/x5WEonNc3FHU4bD6UKdFmiaQGGb+W0UIaG516LD2uSPQbaSiq8L39/o/YMQTzloerIg==
"@kong/kongponents@^9.0.0-alpha.108":
version "9.0.0-alpha.108"
resolved "https://registry.yarnpkg.com/@kong/kongponents/-/kongponents-9.0.0-alpha.108.tgz#a8806095a49101d9e753a40e29b832d365aa4c63"
integrity sha512-GNX6W1CWTg8SvhyShy4Tmx2gnhxfgASvEA+WqHld+6QF+G5+rgtnUvR9vW2kgygETR070m54+6hTdRIVfl+qjg==
dependencies:
"@kong/icons" "^1.8.14"
"@popperjs/core" "^2.11.8"
Expand Down

0 comments on commit ded5043

Please sign in to comment.