tests: fix update general configuration test

This commit is contained in:
Elias Schneider
2024-08-19 23:15:19 +02:00
parent 4780548843
commit aaed71e1c8

View File

@@ -13,11 +13,12 @@ test('Update general configuration', async ({ page }) => {
await expect(page.getByRole('status')).toHaveText(
'Application configuration updated successfully'
);
await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
await page.reload();
await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
await expect(page.getByTestId('session-duration')).toHaveText('30');
await expect(page.getByLabel('Name')).toHaveValue('Updated Name');
await expect(page.getByLabel('Session Duration')).toHaveValue('30');
});
test('Update application images', async ({ page }) => {