Skip to content

Commit

Permalink
tests: fix update general configuration test
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Aug 19, 2024
1 parent 4780548 commit aaed71e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/tests/application-configuration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit aaed71e

Please sign in to comment.