diff --git a/packages/crayons-core/src/components/select-option/select-option.e2e.ts b/packages/crayons-core/src/components/select-option/select-option.e2e.ts index b54953c53..65721fbd1 100644 --- a/packages/crayons-core/src/components/select-option/select-option.e2e.ts +++ b/packages/crayons-core/src/components/select-option/select-option.e2e.ts @@ -151,47 +151,4 @@ describe('fw-select-option', () => { expect(metaText.email).toBe('author@example.com'); expect(metaText.mobile).toBe('123-456-7890'); }); - - it.only('should render fw-select-option with conversation variant and verify attributes', async () => { - const page = await newE2EPage(); - - await page.setContent(``); - - await page.$eval('fw-select-option', (elm: any) => { - elm.variant = 'conversation'; - elm.text = 'This is a select option description'; - elm.subText = 'This is selected option subtext'; - elm.metaText = JSON.stringify({ - name: 'Author Name', - email: 'author@example.com', - mobile: '123-456-7890', - }); - }); - await page.waitForChanges(); - - const description = await page.find('fw-select-option >>> .description'); - expect(description).toBeTruthy(); - - const descriptionText = await page.find( - 'fw-select-option >>> .description-text' - ); - expect(descriptionText).toBeTruthy(); - expect(descriptionText.textContent).toBe( - 'This is a select option description' - ); - - const subText = await page.find( - 'fw-select-option >>> .description-subText-conversation' - ); - expect(subText).toBeTruthy(); - expect(subText.textContent).toBe('This is selected option subtext'); - - const metaTextDetails = await page.find( - 'fw-select-option >>> .description-metaText-details' - ); - expect(metaTextDetails).toBeTruthy(); - expect(metaTextDetails.textContent).toBe( - 'Author Name | author@example.com | 123-456-7890' - ); - }); });