Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/_locales/en/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/_locales/en_GB/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion shared/lib/deep-links/routes/predict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default new Route({
pathname: '/predict',
getTitle: (_: URLSearchParams) => 'deepLink_thePredictPage',
handler: function handler(params: URLSearchParams) {
const predictUrl = new URL('/predict', BaseUrl.MetaMask);
const predictUrl = new URL('/prediction-markets', BaseUrl.MetaMask);
params.forEach((value, key) => predictUrl.searchParams.append(key, value));
return {
redirectTo: predictUrl,
Expand Down
8 changes: 6 additions & 2 deletions test/e2e/tests/deep-link/deep-link.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,19 @@ and we'll take you to the right place.`
// test signed flow
await driver.openNewURL(signedUrl);

await driver.waitForUrl({ url: `${BaseUrl.MetaMask}/predict` });
await driver.waitForUrl({
url: `${BaseUrl.MetaMask}/prediction-markets`,
});

await driver.navigate();
await homePage.checkPageIsLoaded();

// test unsigned flow
await driver.openNewURL(rawUrl);

await driver.waitForUrl({ url: `${BaseUrl.MetaMask}/predict` });
await driver.waitForUrl({
url: `${BaseUrl.MetaMask}/prediction-markets`,
});
},
);
});
Expand Down
Loading