Commit Graph

310 Commits (f68c56a7602baf0eacd97650d9a65f0dacea7b99)

Author SHA1 Message Date
isabelrios 491a198fae For #5074 - Add UI tests for logins and passwords setting menu (#7291)
* For #5074 - Add UI tests for logins and passwords setting menu

* fix detekt failure

* remove old file

* fix scroll small screens

* fix reviewer comments
4 years ago
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 4 years ago
Richard Pappalardo f85961d9a9 Temp disable flaky UI testDownloadPrompt (#7304) 4 years ago
Aaron Train 757c9577e0
No issue: Fixes breakage with unused import in 4a2cb91 (#7205) 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
4 years ago
mcarare d2abac78eb For #7075 Update passwords preference visibility and string
Set visibility for feature flags before settings screen it's displayed.
Change string for preference to match existing header string.
Update UI Tests
4 years ago
Emily Kager 558f90da00 No issue: Scroll to remote debugging text in UI Tests (#7117) 4 years ago
ValentinTimisica 8b8f3d1b56 For #4776: Refactored UI tests.
After removing the 'Privacy notice' and 'Help' items from the Settings screen
the UI tests for them became unneeded.
4 years ago
isabelrios 1d04736884 Re-enable Screenshots tests (#6617)
disabling setting test options due to different screen sizes

name screenshots according to robots

fix kotlin style

update settings tests with new Toolbar option

screenshots tests in different package than ui tests
4 years ago
Oana Horvath 46439930c0
Fixed flaky History UI tests by adding an extra verification step that (#6894)
the page is loaded.

Enabled all tests
4 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
Jeff Boek 4fb26a0601 For #4664 - Updates search_with string. (#6909) 5 years ago
Richard Pappalardo 2225b7154a
Disable flaky testDownloadNotification - API28 (#6982) 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
ekager 3df32edff0 No issue: Fix search suggestions strings 5 years ago
cesar 5b86c403b0 klint clean up and previous nit fixed 5 years ago
cesar d955eae4e2 Test for 6731 5 years ago
mcarare 22879b533e For #6881 Choose visible view when multiple views have same label text 5 years ago
Oana Horvath 715a79de71 Disable UI history tests again for more investigation (#6837) 5 years ago
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 5 years ago
isabelrios 3fc263d547 fix reviewer comments 5 years ago
isabelrios 6b7f89433a For #6322 - UI tests for Account Settings View
removing sleeps

fix ktlint errors
5 years ago
Tiger Oakes 0a86676563 For #6523 - Remove close button in library 5 years ago
Patrick Martin 3e436f59e2 For #2294 - History URL is cut with a large font set (#6724)
* For #2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
5 years ago
ekager dba2186e86 Add scroll to item 5 years ago
ekager 81ab082c1c For #6707 #6708 - Fix UI Tests for new Search Engine Behavior 5 years ago
Patrick Martin 8abf580579 For #2294 - History URL is cut with a large font se 5 years ago
Oana Horvath c9e4303fa0
Fixed History flaky tests (#6592)
Ignoring some tests for now and left some to run
5 years ago
cesar 984d8c7b13 ktlint clean up 5 years ago
cesar 808740e4c9 Fixed Typo 5 years ago
cesar d69ead201b Test for 6594 5 years ago
cesar d9ded1f715 Test for 6593 5 years ago
Emily Kager 1c26851dea Add logins to UI test 5 years ago
Oana Horvath 0cfde5b86a Added a method to detect the UI Theme (#6542) 5 years ago
David Walsh 9d5c03c067 Use consistent verbiage with regard to opened tabs (#6550) 5 years ago
Severin Rudie 6909a76bcb
4281 remove qab (#6310)
* For #4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
5 years ago
Emily Kager cf8cab8eb1 No issue: Ignore rest of HistoryTest tests (#6450) 5 years ago
Richard Pappalardo fa780f6790
Temp disable all History UI tests (#6443) 5 years ago
Richard Pappalardo 01b4213b2a Temp disable flaky deleteMultipleSelectionTest (#6405)
* Temp disable flaky deleteMultipleSelectionTest

* Fix indentation
5 years ago
mcarare 675fe6a3a9 For #1487 Add "my library" menu category and items to home 3-dot menu.
Changed UI tests according to new menu items.
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
No-Jun Park ad94d49f24
Collection UI Test added, but set to disabled until Collection is refactored (#6160) 5 years ago
isabelrios b413a57159 Fix sync test after changes in the syntaxt to check the elements (#6249) 5 years ago
psy0ch 165b1420b7 Add explanation to @Ignore in CollectionTest (#6238)
#6235
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
Tiger Oakes 4e3a3665d6 For #3366 - Use one layout for edit/add bookmark (#5900) 5 years ago
isabelrios 06c1ef49b2 Fix #6004: Add UI sync integration test for Bookmarks (#6019)
* Fix #6004: Add UI sync integration test for Bookmarks

* fix two typos
5 years ago
Richard Pappalardo 744d177dd0 Add verify items tests for settings menus 5 years ago
MozLando f66b9f3e8f Merge #5633
5633: Add fxa/sync integration tests r=csadilek a=isabelrios

 Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [-] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [-] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

This PR tries to add new tests, sync integration tests, to check the sync process Desktop<->Fenix, first for Bookmarks and in the future for more.

Co-authored-by: Isabel Rios <isabelrios@mackbookirios.home>
Co-authored-by: isabelrios <isabelrios@gmail.com>
5 years ago
Emily Kager f9afd97a68 For #1901 - Get rid of black flash when leaving GV Engine 5 years ago
Sawyer Blatz 0e435b8b7b For #5534: Temporarily disables find in page test 5 years ago
isabelrios 0e3148f0da fixing more reviewers comments 5 years ago
isabelrios 2fc6eaf5d4 fixing reviewers comments
improve writing email and password in file
5 years ago
Isabel Rios 44f4cedefd Add fxa/sync integration tests
fixing Jenkins path to tests and clean tests

commenting future tests and adding doc with info about the tests
5 years ago
sv-ohorvath bb7caa6365 Boomkarks UI tests
Added a comment to the clear all bookmarks method
5 years ago
Sawyer Blatz 785b8b9519
For #5567: Removes search shortcuts button (#5739)
* For #5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
5 years ago
Richard Pappalardo bc471ea59c
Fixes #5758 - Increase UI test wait time (#5759) 5 years ago
ekager 7dab810ee6 For #5534 - Make FIP Robot Wait for Text Changes 5 years ago
Colin Lee de93b05cac For #2754 Add tab cards to share sheet (#5493)
* For #2754 Add tab cards to share sheet

* For #2754: Fix background near rounded corners and ShareButtonAppearanceTest

* Add license to share_tab_item
5 years ago
Sawyer Blatz 856399e9e2
No issue: Fixes GleanMetricsService nits & broken UI test (#5539)
* No issue: Fixes GleanMetricsService nits

* No issue: fixes broken UI test
5 years ago
Richard Pappalardo 057451178c
Move UI tests to x86 devices on Firebase (#5463) 5 years ago
Sawyer Blatz 50cd2920d3
For #5371: Updates search engine settings string (#5393) 5 years ago
ekager 1d66af34b0 No issue: Fixes UI tests by removing TP onboarding closure 5 years ago
Richard Pappalardo 16ec5858ad fix: broken UI tests (#5324) 5 years ago
Oana Horvath 8ea836bf13 Adds 2 new tests to SearchTest (#4770) 5 years ago
No-Jun Park 3cdcbe4af6 fix TabbedBrowsingTest.kt failure where Share Tabs element was not found (#5282) 5 years ago
Oana Horvath 7402013126 added LibraryMenuTest, BookmarksRobot, HistoryRobot (#4769)
ran ktlint

added the goBack()method in  Transition

added the goBack method in Transition
5 years ago
Aaron Train 017fb625dd
Closes #5192 - Add UI Test for "What's New" menu option (#5193) 5 years ago
No-Jun Park a1be6183f3
Create homeview share dialog UITest (#5160)
Share Button UI test added
Collection test steps created
5 years ago
Aaron Train 5e7672b59e
Closes #5137 - Add Find in Page UI Test (#5138) 5 years ago
Richard Pappalardo d18ec43bcb Temporarily disable broken UI test (#5136) 5 years ago
Aaron Train 2bbb4c29ff
Closes #4926: Add basic UI test for regular/private tabs (#4928) 5 years ago
Colin Lee 153af588af For #4885: D8 Build failure on attempt to execute UI test (#4903)
* For #4885: D8 Build failure on attempt to execute UI test

* Disabled screengrab tests until AndroidX fix is available
5 years ago
Richard Pappalardo ca24dd6ea8 Stub out Settings tests 5 years ago
Yeon Taek Jeong 6f899c7fb5
For #2834: Delete all Private Tabs redesign (#4787) 5 years ago
Aaron Train ae05bf98e2
Closes #4618 - Stub Library UI tests (#4619)
See #4572
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
Emily Kager f71106cb51 Closes #3860 - Update description text for collections 5 years ago
isabelrios 7729cb63a7 Fix UI Screenshot TabMenuTest (#4730) 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
Richard Pappalardo 422818c917
Stub out tabs tests (#4573) 5 years ago
Emily Kager 4bbb291e8d No issue: Update UI tests with new engine shortcuts behavior (#4552) 5 years ago
ekager d0071d0177 For #4495 - Clean up homescreen toolbar focus and content descriptions 5 years ago
Emily Kager 890833d7ac No issue: Fix failing UI tests because of renamed views (#4527) 5 years ago
Sawyer Blatz f89cefe92c No issue: Fixes failing UI test on master 5 years ago
isabelrios f815ef1dd0 Fixes #4324 - Add more l10n screenshots tests (#4350)
* Fixes #4324 - l10n Add more screenshots tests

* change test name

* final changes

* fixing reviewer comments
5 years ago
Andrey Mukamolov 965d99a1c1 For #2142: Added UI test assertion 5 years ago
Richard Pappalardo b39afe1548
Add taskcluster job for UI tests (#4088) 5 years ago
isabelrios a05d3e2aa0 For #4260 - UITests update data collection string (#4261) 5 years ago
Sawyer Blatz 6480f405e2
Fixes #4091 & Fixes #4092: Resolve issues with Search UI tests (#4224) 5 years ago
isabelrios a984bb4799 For #4094 - Improved original PR to fix screenshots tests API21 (#4144)
use robot for three dot menu screenshot
5 years ago
Richard Pappalardo ac37d4971c Revert "For #4094 - Fix screenshots tests on API 21 devices (#4108)" (#4138)
This reverts commit d8e45e55d4.
5 years ago
isabelrios d8e45e55d4 For #4094 - Fix screenshots tests on API 21 devices (#4108)
fix ktlint error
5 years ago
Aaron Train 6aa6cf8a99 Closes #3977: Add basic navigational UI tests (#3978)
- Adds UI tests (and assets) for basic navigation

fix: review changes

fix: linter cleanup

fix: detekt cleanup

fix: adjust wait approaches
5 years ago
Sawyer Blatz 6b29affbee No issue: Speed up onboarding UI test (#4061) 5 years ago
Sawyer Blatz c779889cbd
Closes #4027: Adds search fragment UI tests (#4033) 5 years ago
Sawyer Blatz 6b639b1a32
For #4032: Fixes broken homescreen UI tests (#4011) 5 years ago
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 5 years ago
Richard Pappalardo 329c7d6e66
Update HomeScreenTest and add first run (#3951) 5 years ago
kglazko 166218f74a Adding l10n screenshot tests for Fenix (#3562)
* Adding l10n screenshot tests for Fenix

* fixing comments

* fix klint and detekt error and adding all tests

* better test name and doc added explaining tests
5 years ago
Richard Pappalardo e7d0bfe581
Update HomeScreenTest (#3882) 5 years ago
Richard Pappalardo ba3edbcf92
Add automated UI test for main three dot menu (#2540) 5 years ago
Kevin Brosnan 493bab42a4 UI tests for the home screen 5 years ago
Emily Kager 476a8619a9 Remove test imports 5 years ago
Colin Lee b2b6a530d0 Make ktlint and detekt style changes 5 years ago
Jeff Boek e34f7e166d Initializes Android project
Co-authored-by: Colin Lee <mncolinlee@gmail.com>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
6 years ago