From 3a7ec03415881aea5093d25e5afca833e5161ea6 Mon Sep 17 00:00:00 2001 From: tishoyanchev Date: Thu, 22 Jun 2023 15:55:01 +0200 Subject: [PATCH] fixed e2e test --- packages/components/src/components/card/card.e2e.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/components/card/card.e2e.ts b/packages/components/src/components/card/card.e2e.ts index a4e6245b96..06f4cf7fa1 100644 --- a/packages/components/src/components/card/card.e2e.ts +++ b/packages/components/src/components/card/card.e2e.ts @@ -22,12 +22,12 @@ describe('ifx-card', () => { it('should set correct alignment', async () => { const page = await newE2EPage(); - await page.setContent(''); + await page.setContent(''); - const element = await page.find('ifx-card'); - const alignment = await element.getProperty('alignment'); + const element = await page.find('ifx-card-image'); + const alignment = await element.getProperty('position'); - expect(alignment).toBe('center'); + expect(alignment).toBe('left'); }); });