Commit Graph

53 Commits (af233106794ff2b809f37f8deaf445e4cf1fb2d7)

Author SHA1 Message Date
Oana Horvath d7f1117e17 For #16317 UI tests: save longTap preference to restore it 3 years ago
Oana Horvath 4e4bbcc334 For #16317: resets long press delay at the end of UI tests 3 years ago
Mugurell 611ff8f25b For #17195 - Don't try setting an idle resource if the View is already off screen
Speculative fix based on the Firebase logs which shows that on a second check
of R.id.tab_wrapper it is not found the screen.
It may be because after `advanceToHalfExpandedState` and before getting a
reference to it in `waitForTabTrayBehaviorToIdle` it was already animated off
the screen.
With this in mind I've added a null check for the view reference before trying
to register an idling resource on it's Behavior.

Also added and used a way to click at a specific location in a View, not just
in the default middle in the View.
It was observed from the Firebase videos that a "click" on the topBar actually
selected the private tabs section. This would leave us to believe that the
"click" was caught by that other View which was placed above the x,y middle of
the topBar.
3 years ago
Oana Horvath a98b40896d For #15259 UI test: waits for home screen to be visible 3 years ago
Christian Sadilek 89ad370eb2 Remove SessionManager references from UI tests 3 years ago
isabelrios d8584ed632
Changes to run tests on beta builds (#16786)
* Changes to run tests on beta builds

* remove dontoptime and fix bookmarks tests

* fix ktlint and smokeTest

* add variable for package name

* rebase and fix conflicts

* add yml files and modify script to run tests

* fix yml file indentation

* changes in kind file and add try_task

* fix error kind file

* fix error kind file 2

* fix error kind file 3

* fix reviewer comments

* remove mockwebserver implementation as per reviewer comment

* run beta tests only on releases branches

* reg exp for master branch

* reg exp for master branch2

* modify try_task with release branch

* remove try file

* let's start by running only one test

* address latest reviewers comments

* double check correct tasks for release branch

* remove try file after confirming beta build run

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
3 years ago
Oana Horvath 7ac4af46bc For #10798 & #14526: Apply auto-download test file fix for download UI tests 3 years ago
Oana Horvath 23789c86c4 For #16615: UI smoke test manageDownloadsInDownloadsMenuTest 3 years ago
Oana Horvath 894b25855e For #16615: UI smoke test toggleSearchSuggestions 4 years ago
Mugurell 172977f698
For #14980 - Effectively disable tabs tray STATE_HALF_EXPANDED (#16052)
STATE_HALF_EXPANDED cannot be disabled while also keeping fitToContents = true
based on which the tabs tray layout is currently set.
To work around this we'll set a a minuscule height for the tab tray when in
this state and then immediately advance to STATE_HIDDEN so to make it
imperceptible to the users.
Since I couldn't write unit tests because of InflateExceptions in Robolectric
I've written UI tests to protect against regressions.
4 years ago
Aaron Train b8fff8cef1
For #8169 - Upgrade Mockwebserver (#16186)
Upgrades Mockwebserver to 4.9.0
4 years ago
Michael Comella c33aafb024 For #13959: add HomeActivityTestRule.skipOnboarding.
This is more correct, faster, and results in less copy-paste duplication
than the current behavior:
  homeScreen { }.dismissOnboarding()

Which opens settings to dismiss onboarding.
4 years ago
Oana Horvath 9e47d9e70d
Closes #10911: idling resource registration timing issues (#14231) 4 years ago
Oana Horvath 0b2e629774
Closes #13219: Changes device long-tap delay before UI tests (#13502) 4 years ago
Kadeem M 1353e157cd
Created UI tests for Addon Settings (#9258) 4 years ago
Tiger Oakes c99a8f5cfa
Fixes #9832 - Change targetSdkVersion to Android 10 (#11014) 4 years ago
Aaron Train 0a4f92a5d0
No issue: Re-enable Context Menu UI tests (#12250) 4 years ago
Aaron Train 507ccaec7e
Closes 10927: Improve wait on session loaded for UI tests (#10928) 4 years ago
ValentinTimisica 29be9e4b9f Fixes #10064: Updates UI tests for About Page 4 years ago
Oana Horvath 43a78c4fd6
For #10761: Updates UI test tracking test page asset (#10945) 4 years ago
Oana Horvath 2c18c255da
For #9783: bring app in focus with sendSingleTapToScreen for UI test (#10136) 4 years ago
Oana Horvath 21894a3cea
Added new bookmarks tests (#9878)
Fix for #7417: Fix and re-enable disabled tests
4 years ago
Oana Horvath 5f68d6cb29
Updated the method to verify system notifications and added new tests for media notifications (#9330) 4 years ago
Aaron Train 4d139d52c4
Closes #9189: Fixes "static asset not found" error in doNotSaveLoginFromPromptTest, saveLoginFromPromptTest UI tests (#9439)
AndroidAssetDispatcher class dispatcher was attempting to open a local asset with a query suffix from the request. If query suffix is found, remove it. Re-enable saveLoginFromPromptTest() and doNotSaveLoginFromPromptTest()
4 years ago
Aaron Train f23b9fcb89
Closes #9346: Add ViewIdlingResource for Reader View UI tests (#9347) 4 years ago
Aaron Train 8f37977e79
Closes #9262: Add additional waits to LibraryMenuTest (#9263) 4 years ago
Oana Horvath 0cdb0680e7
UI tests for Private browsing settings sub-menu (#8395) 4 years ago
Aaron Train 029bbd3726 Closes #8082 - Add UI tests for Top Sites
WIP

wip

WIP

WIP

WIP

WIP

fix: unused import [ktlint]
4 years ago
isabelrios 4582c25208
UITests: New tests for save Login prompt (#8381)
* UITests: New tests for save Login prompt

* fixing firebase timing issues when webpage loads

* adding tests for don't save and check the prompt options

* fix detekt issue

* fix reviewer comments
4 years ago
Aaron Train 4fec12b127
Closes #7656: Add UI tests for Reader View (#7829) 4 years ago
Kadeem M 095477e0ef
Adding UI tests for the Basic Menu settings. 🎲 !!!! (#6346)
* Added UI tests for the basic settings menu

* Disabled toggleSearchSuggestions test
4 years ago
Alessio Placitelli 99d6dbfca4 Test that 'baseline' pings are sent by Fenix
This is an initial instrumented test for Fenix
that checks if a 'baseline' ping is generated when
going to background.
4 years ago
Kadeem M fb2a68fdec Added BuildDate Assertion for About Preview Screen; Added verification for external links in About Preview Screen (#7413) 4 years ago
Aaron Train 399df17062
Closes #7611: Add UI tests for content context menus (#7631)
Closes #7611: Add UI tests for content context menus
4 years ago
Kadeem M e22d092f5d Added UI tests for the About Settings page (#6161) 4 years ago
Aaron Train 4a2cb91ad9
For #6697: Add Tracking Protection UI Tests (#6825)
Add tests for verifying basic UI functionality of Enhanced Tracking Protection
5 years ago
Aaron Train e1fd53c718
Closes #6873: Support many more Content-Type in MockWebServer (UI tests) (#7001)
Ensure our MockResponse can handle different Content-Type e.g, images, to help support other tests
5 years ago
Oana Horvath 85dd56e12d
Added multi-selection tests for bookmarks (#6475)
Updated bookmarking method

Fixed flaky tests

Added wait to create bookmark
5 years ago
Aaron Train 35f136b14b
Closes #6363 - Add Downloads UI tests (#6574)
- Initiates a download
- Verifies prompt
- Verifies notification in notification shade
5 years ago
Oana Horvath c9e4303fa0
Fixed History flaky tests (#6592)
Ignoring some tests for now and left some to run
5 years ago
Oana Horvath 7813fb22d4
History menu UI tests (#6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
5 years ago
Aaron Train 23c98f9908
Closes #6172 - Convert waitNotNull into extension function for UI tests (#6220) 5 years ago
Aaron Train c677fc6109
Closes #6031 - Wrap waits with assert check; adjust timer check (#6084)
See #6031

- Adjust waits with assert check
- Adjusts timer to speed things up
- Test fix and cleanup

fix: review comments

- fixed proper resource name selectors
- re-added waits for slow devices

fix: ktlint
5 years ago
Richard Pappalardo 744d177dd0 Add verify items tests for settings menus 5 years ago
Richard Pappalardo bc471ea59c
Fixes #5758 - Increase UI test wait time (#5759) 5 years ago
Emily Kager c9598bc4d1 For #4688 - Try to use context instead of targetContext (#4765) 5 years ago
Emily Kager d07d74e8d3 For #4688 - Try slightly different Context class for MockWebServer (#4747) 5 years ago
Sawyer Blatz 167b2ef002 No issue: Removes deprecated usage of InstrumentationRegistry 5 years ago
Emily Kager c21c91eac5 No issue: Update testing dependencies and deprecated method (#4608) 5 years ago
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 5 years ago