Repository navigation
Conversation
|
View this pull request in Lando to land it once approved. |
segunfamisa
left a comment
There was a problem hiding this comment.
Thanks for this patch!
| import org.mozilla.fenix.helpers.perf.DetectMemoryLeaksRule | ||
| import org.mozilla.fenix.ui.robots.homeScreen | ||
| import org.mozilla.fenix.ui.robots.navigationToolbar | ||
| import androidx.compose.ui.test.junit4.v2.AndroidComposeTestRule as AndroidComposeTestRuleV2 |
There was a problem hiding this comment.
Oh TIL - I didn't know there was already a V2 😁
|
I'm not sure how the PR title gets resolved in the final commit message, but we may want to consider adding some specificity to the title - maybe something like "Bug 2073095 - Fix more tests that interact with top sites that are broken on nightly build variants" or "Bug 2073095 - Fix tests broken on nightly variant - top sites" or something like that :D |
…ts on nightly. - SettingsAddonTests noCrashWithAddonInstalledTest(): this now just opens the first available top site tab, as this is not really the main point of the test. I've added a new method into HomeScreenRobot to support this. - HomeScreenTest: the bit where it is actually checking that default top sites are available uses the new method i added to say whether or not we expect them to be there (isDefaultPinnedShortcutsOnHomepage) - UnsubmittedCrashDialogTest: this was mocking the context but didn't actually use it, so i could just get rid of that part 🎉
5da29fa to
44de1aa
Compare
thanks for the review! have tweaked, and fixed the lint. (I wrote this whole patch using human fingers instead of ai, like a dinosaur, it probably shows in the language used. Nothing is load-bearing here at all 😂) |
…ts on nightly. r=sfamisa - SettingsAddonTests noCrashWithAddonInstalledTest(): this now just opens the first available top site tab, as this is not really the main point of the test. I've added a new method into HomeScreenRobot to support this. - HomeScreenTest: the bit where it is actually checking that default top sites are available uses the new method i added to say whether or not we expect them to be there (isDefaultPinnedShortcutsOnHomepage) - UnsubmittedCrashDialogTest: this was mocking the context but didn't actually use it, so i could just get rid of that part 🎉 [try is running here](https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=98489) Pull request: #372
|
Pull request closed by commit bcb6f6d |
…ts on nightly. r=sfamisa - SettingsAddonTests noCrashWithAddonInstalledTest(): this now just opens the first available top site tab, as this is not really the main point of the test. I've added a new method into HomeScreenRobot to support this. - HomeScreenTest: the bit where it is actually checking that default top sites are available uses the new method i added to say whether or not we expect them to be there (isDefaultPinnedShortcutsOnHomepage) - UnsubmittedCrashDialogTest: this was mocking the context but didn't actually use it, so i could just get rid of that part 🎉 [try is running here](https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=98489) Pull request: mozilla-firefox/firefox#372 UltraBlame original commit: 8416b77afecd92453829412467bd0323fe0988c7
…ts on nightly. r=sfamisa - SettingsAddonTests noCrashWithAddonInstalledTest(): this now just opens the first available top site tab, as this is not really the main point of the test. I've added a new method into HomeScreenRobot to support this. - HomeScreenTest: the bit where it is actually checking that default top sites are available uses the new method i added to say whether or not we expect them to be there (isDefaultPinnedShortcutsOnHomepage) - UnsubmittedCrashDialogTest: this was mocking the context but didn't actually use it, so i could just get rid of that part 🎉 [try is running here](https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=98489) Pull request: mozilla-firefox/firefox#372 UltraBlame original commit: 8416b77afecd92453829412467bd0323fe0988c7
…ts on nightly. r=sfamisa - SettingsAddonTests noCrashWithAddonInstalledTest(): this now just opens the first available top site tab, as this is not really the main point of the test. I've added a new method into HomeScreenRobot to support this. - HomeScreenTest: the bit where it is actually checking that default top sites are available uses the new method i added to say whether or not we expect them to be there (isDefaultPinnedShortcutsOnHomepage) - UnsubmittedCrashDialogTest: this was mocking the context but didn't actually use it, so i could just get rid of that part 🎉 [try is running here](https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=98489) Pull request: mozilla-firefox/firefox#372 UltraBlame original commit: 8416b77afecd92453829412467bd0323fe0988c7
SettingsAddonTests noCrashWithAddonInstalledTest(): this now just opens the first available top site tab, as this is not really the main point of the test. I've added a new method into HomeScreenRobot to support this.
HomeScreenTest: the bit where it is actually checking that default top sites are available uses the new method i added to say whether or not we expect them to be there (isDefaultPinnedShortcutsOnHomepage)
UnsubmittedCrashDialogTest: this was mocking the context but didn't actually use it, so i could just get rid of that part 🎉
try is running here
Lando: link
Bugzilla: bug 2073095
🚫 This pull request has 1 blocker.