Skip to content

Commit

Permalink
Android browser test failed on debug build (uplift to 1.68.x) (#24602)
Browse files Browse the repository at this point in the history
Uplift of #24285 (squashed) to beta
  • Loading branch information
brave-builds authored Jul 11, 2024
1 parent 80857ef commit 35fcd7f
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ IN_PROC_BROWSER_TEST_F(AndroidPageAppearingBrowserTest,
const std::vector<std::string> ignore_patterns = {
"TypeError: Cannot read properties of undefined (reading "
"'onCompleteReset')",
"Error calling jsonRpcService.getERC20TokenBalances"};
"Error calling jsonRpcService.getERC20TokenBalances",
"ReactDOM.render is no longer supported in React 18"};
VerifyPage(url, expected_url, ignore_patterns);
}
}
Expand All @@ -402,8 +403,10 @@ IN_PROC_BROWSER_TEST_F(AndroidPageAppearingBrowserTest, TestSwapPageAppearing) {
const std::vector<std::string> ignore_patterns = {
"TypeError: Cannot read properties of undefined (reading 'forEach')",
"Error calling jsonRpcService.getERC20TokenBalances",
"Error querying balance:", "Error: An internal error has occurred",
"Unable to fetch getTokenBalancesForChainId"};
"Error querying balance:",
"Error: An internal error has occurred",
"Unable to fetch getTokenBalancesForChainId",
"ReactDOM.render is no longer supported in React 18"};
VerifyPage(url, expected_url, ignore_patterns);
}
}
Expand All @@ -413,7 +416,8 @@ IN_PROC_BROWSER_TEST_F(AndroidPageAppearingBrowserTest, TestSendPageAppearing) {
for (const std::string& scheme : GetWebUISchemes()) {
GURL url = GURL(base::StrCat({scheme, "wallet/send"}));
const std::vector<std::string> ignore_patterns = {
"TypeError: Cannot read properties of undefined (reading 'forEach')"};
"TypeError: Cannot read properties of undefined (reading 'forEach')",
"ReactDOM.render is no longer supported in React 18"};
VerifyPage(url, expected_url, ignore_patterns);
}
}
Expand All @@ -424,7 +428,8 @@ IN_PROC_BROWSER_TEST_F(AndroidPageAppearingBrowserTest,
for (const std::string& scheme : GetWebUISchemes()) {
GURL url = GURL(base::StrCat({scheme, "wallet/crypto/deposit-funds"}));
const std::vector<std::string> ignore_patterns = {
"TypeError: Cannot read properties of undefined (reading 'forEach')"};
"TypeError: Cannot read properties of undefined (reading 'forEach')",
"ReactDOM.render is no longer supported in React 18"};
VerifyPage(url, expected_url, ignore_patterns);
}
}
Expand All @@ -434,7 +439,8 @@ IN_PROC_BROWSER_TEST_F(AndroidPageAppearingBrowserTest, TestBuyPageAppearing) {
for (const std::string& scheme : GetWebUISchemes()) {
GURL url = GURL(base::StrCat({scheme, "wallet/crypto/fund-wallet"}));
const std::vector<std::string> ignore_patterns = {
"TypeError: Cannot read properties of undefined (reading 'forEach')"};
"TypeError: Cannot read properties of undefined (reading 'forEach')",
"ReactDOM.render is no longer supported in React 18"};
VerifyPage(url, expected_url, ignore_patterns);
}
}
Expand Down

0 comments on commit 35fcd7f

Please sign in to comment.