Skip to content

Commit

Permalink
fixed e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
tishoyanchev committed Jun 22, 2023
1 parent 345546f commit 3a7ec03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/components/card/card.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ describe('ifx-card', () => {

it('should set correct alignment', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-card alignment="center"></ifx-card>');
await page.setContent('<ifx-card-image position="left"></ifx-card-image>');

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');
});

});

0 comments on commit 3a7ec03

Please sign in to comment.