From 19c399f01eff8965e6c229df593362ba613a38e9 Mon Sep 17 00:00:00 2001 From: portikM Date: Wed, 11 Oct 2023 16:21:01 -0400 Subject: [PATCH] test(kselect): fix component test [KHCP-8985] --- src/components/KSelect/KSelect.cy.ts | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/components/KSelect/KSelect.cy.ts b/src/components/KSelect/KSelect.cy.ts index f62919cc50..58981d7e41 100644 --- a/src/components/KSelect/KSelect.cy.ts +++ b/src/components/KSelect/KSelect.cy.ts @@ -120,26 +120,7 @@ describe('KSelect', () => { cy.get('.k-input-label .kong-icon-help').should('be.visible') }) - it('renders an asterisk when `overlayLabel` is true and `required` attr is set', () => { - const label = 'A label' - mount(KSelect, { - props: { - testMode: true, - label, - overlayLabel: true, - items: [{ - label: 'Label 1', - value: 'label1', - }], - }, - attrs: { - required: true, - }, - }) - - cy.get('.text-on-input label').should('contain.text', label) - cy.get('.text-on-input .is-required').should('exist') - }) + it.skip('renders label with required symbol when `required` attribute is set', () => { }) it('renders with correct appearance - select', () => { mount(KSelect, {