fix: session duration can't be updated

This commit is contained in:
Elias Schneider
2024-08-19 23:10:14 +02:00
parent a5dfdd2178
commit 4780548843
3 changed files with 9 additions and 4 deletions

View File

@@ -10,10 +10,14 @@ test('Update general configuration', async ({ page }) => {
await page.getByLabel('Session Duration').fill('30');
await page.getByRole('button', { name: 'Save' }).first().click();
await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
await expect(page.getByRole('status')).toHaveText(
'Application configuration updated successfully'
);
await page.reload();
await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
await expect(page.getByTestId('session-duration')).toHaveText('30');
});
test('Update application images', async ({ page }) => {