-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UITest] testWindowExploit fails after recent changes #6444
Comments
Let's back out that commit for v25. Then we should re-commit when we can get the UI test working to ensure it's not causing a bug |
It is backed out on master, still need to do for v25. Least confusing to have the patch re-land with the fix for the test included, and this gets master tests green as well which is useful. |
@garvankeeley so the next step would be to update that test since the new behavior must show that error page based on the decision that was made in #5798 |
I am not familiar with the issue to know why the patch caused the test to fail, can you explain? Thanks |
The reported issue was that when a user navigates into "What's New Page" without any internet connectivities, there wasn't any UI indication to tell them. The solution was to show the same Error Page that gets inflated by the Based on my findings, by default, this method was already called within WhatsNewPage, however since the My fix took advantage of one of the parameters ( The fix was reviewed and tested by @nbhasin2, maybe He can also weighting into the matter as well. In terms of the failing test, I was asking if we should take in count the new behavior into that test. |
Not sure though why this test is not compatible with that change |
Currently, I'm just making this wild guess since this issue was associated with my fix. I'm not yet too familiar with the entire test suite. |
This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions! |
Since only |
Steps to reproduce
Run test: https://github.com/mozilla-mobile/firefox-ios/blob/master/UITests/SecurityTests.swift#L69
Expected behavior
Test should pass
Actual behavior
Test fails in L75,
XCTAssert(webView.url == nil)
Device & build information
-Not sure if this a new behaviour showing the error page as:
-Before the page was shown as:
I'm not very familiar with these tests, not sure if this is a regression or we should update the test.. garvankeeley would need your input here 🙏
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: