Unified · Split
| @@ -96,7 +96,7 @@ scenario( · 95 unmodified lines | |||
| 96 | await page.locator("#oauth-app-name").fill(appName); | 96 | await page.locator("#oauth-app-name").fill(appName); |
| 97 | await page.locator("#oauth-client-id").fill("client-one"); | 97 | await page.locator("#oauth-client-id").fill("client-one"); |
| 98 | await page.locator("#oauth-client-secret").fill("secret-one"); | 98 | await page.locator("#oauth-client-secret").fill("secret-one"); |
| 99 | await page.getByRole("radio", { name: /HTTP Basic/ }).check(); | 99 | await page.getByRole("radio", { name: /^HTTP Basic client_secret_basic$/ }).check(); |
| 100 | await page.getByRole("button", { name: "Register app", exact: true }).click(); | 100 | await page.getByRole("button", { name: "Register app", exact: true }).click(); |
| 101 | // Back on the picker, the new app is selectable AND manageable — | 101 | // Back on the picker, the new app is selectable AND manageable — |
| 102 | // the per-app actions menu is what replaced the old apps page. | 102 | // the per-app actions menu is what replaced the old apps page. |
| @@ -112,7 +112,9 @@ scenario( · 9 unmodified lines | |||
| 112 | "the edit form prefills the stored client id", | 112 | "the edit form prefills the stored client id", |
| 113 | ).toBe("client-one"); | 113 | ).toBe("client-one"); |
| 114 | await expect | 114 | await expect |
| 115 | .poll(() => page.getByRole("radio", { name: /HTTP Basic/ }).isChecked()) | 115 | .poll(() => |
| 116 | page.getByRole("radio", { name: /^HTTP Basic client_secret_basic$/ }).isChecked(), | ||
| 117 | ) | ||
| 116 | .toBe(true); | 118 | .toBe(true); |
| 117 | }); | 119 | }); |
| 118 | 120 | ||