feat: routing v3 design (#20607)

Co-authored-by: Sean Brydon <[email protected]>
Co-authored-by: Eunjae Lee <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Hariom Balhara <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-05-01 10:35:17 +01:00
1 parent c4af180a5b
commit d51e03b14b
35 files changed
+3018 -1886

No files matched your search

+2 -1
View File
@@ -239,7 +239,8 @@ export async function gotoRoutingLink({
let previewLink = null;
if (!formId) {
// Instead of clicking on the preview link, we are going to the preview link directly because the earlier opens a new tab which is a bit difficult to manage with Playwright
const href = await page.locator('[data-testid="form-action-preview"]').getAttribute("href");
await page.locator('[data-testid="preview-button"]').click();
const href = await page.locator('[data-testid="open-form-in-new-tab"]').getAttribute("href");
if (!href) {
throw new Error("Preview link not found");
}