Skip to content

Commit

Permalink
test(*): field select
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Sep 23, 2024
1 parent ffd6059 commit 8374434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/playwright/specs/consumers/03-ConsumerPlugins.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ test.describe('consumer plugins', () => {
await page.click('input#consumer-id')
await page.fill('input#consumer-id', mockConsumerName)
await page.waitForTimeout(300)
await expect(page.locator('.select-item')).toContainText(mockConsumerName)
await page.click('.select-item')
await expect(page.locator('label[for="consumer"] + .field-wrap .select-item')).toContainText(mockConsumerName)
await page.click('label[for="consumer"] + .field-wrap .select-item')
await withNavigation(page, () => page.click(consumerListPage.$.submitButton))
await pluginListPage.goto()
await expect(page.locator('.kong-ui-entities-plugins-list [data-testid="appliedTo"] .k-badge')).toContainText('Consumer')
Expand Down

0 comments on commit 8374434

Please sign in to comment.