feat: allow redirecting to preset

This commit is contained in:
Carlos Valente
2025-02-21 14:34:57 +01:00
committed by Carlos Valente
parent 88b8e83494
commit b8d7324be0
8 changed files with 152 additions and 64 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ test('redirect', async ({ context }) => {
await controllerPage.getByTestId('not-self-redirect').click();
await controllerPage.getByPlaceholder('minimal?key=0000ffff').click();
await controllerPage.getByPlaceholder('minimal?key=0000ffff').fill('clock');
await controllerPage.getByRole('button', { name: 'Submit' }).click();
await controllerPage.getByLabel('Redirect', { exact: true }).click();
await expect(remotePage.getByTestId('clock-view')).toBeVisible();
});