mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-13 00:33:06 +03:00
tests: fix update general configuration test
This commit is contained in:
@@ -13,11 +13,12 @@ test('Update general configuration', async ({ page }) => {
|
|||||||
await expect(page.getByRole('status')).toHaveText(
|
await expect(page.getByRole('status')).toHaveText(
|
||||||
'Application configuration updated successfully'
|
'Application configuration updated successfully'
|
||||||
);
|
);
|
||||||
|
await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
|
||||||
|
|
||||||
await page.reload();
|
await page.reload();
|
||||||
|
|
||||||
await expect(page.getByTestId('application-name')).toHaveText('Updated Name');
|
await expect(page.getByLabel('Name')).toHaveValue('Updated Name');
|
||||||
await expect(page.getByTestId('session-duration')).toHaveText('30');
|
await expect(page.getByLabel('Session Duration')).toHaveValue('30');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Update application images', async ({ page }) => {
|
test('Update application images', async ({ page }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user