Skip to content

Commit 0db9766

Browse files
committed
test(frontend:e2e): update application item style tests
- Shorten test app name for providing a better test case - Add back width styling to ApplicationItem container
1 parent 18c5ab9 commit 0db9766

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

frontend/e2e/application-item-style.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test.describe('Application Item Style', () => {
88

99
test.beforeEach(async ({ page }, testInfo): Promise<void> => {
1010
const appNameSalt = generateSalt(testInfo.title);
11-
appName = 'Test style app ' + appNameSalt;
11+
appName = 'Sty';
1212
appId = 'io.test.style.app.' + appNameSalt;
1313

1414
await page.goto('/');
@@ -49,8 +49,8 @@ test.describe('Application Item Style', () => {
4949
x: 0,
5050
y: -10,
5151
width: await appItem.boundingBox().then(box => box?.width || 800),
52-
height: await appItem.boundingBox().then(box => (box?.height || 200) + 20)
53-
}
52+
height: await appItem.boundingBox().then(box => (box?.height || 200) + 20),
53+
},
5454
});
5555
});
5656
});
16.8 KB
Loading

frontend/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@iconify/icons-mdi": "^1.2.48",
7676
"@iconify/react": "^5.2.1",
7777
"@iconify/tools": "^4.1.2",
78-
"@playwright/test": "^1.52.0",
78+
"@playwright/test": "1.53.0",
7979
"@storybook/addon-essentials": "^8.5.8",
8080
"@storybook/addon-links": "^8.5.8",
8181
"@storybook/manager-api": "^8.5.8",

frontend/src/components/Applications/ApplicationItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function ApplicationItem(props: ApplicationItemProps) {
4343

4444
return (
4545
<StyledListItem className={classes.root}>
46-
<Grid container>
46+
<Grid container sx={{ width: '100%' }}>
4747
<Grid size={12}>
4848
<CardHeader
4949
cardMainLinkLabel={name}

0 commit comments

Comments
 (0)