2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-09 19:10:42 +00:00
Commit Graph

108 Commits

Author SHA1 Message Date
Aaron Train
9b77b65e69 [fenix] No issue: Fixes breakage with unused import in 71e8063 (https://github.com/mozilla-mobile/fenix/pull/7205) 2019-12-16 11:55:44 -05:00
Aaron Train
f9e3b21578 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6697: Add Tracking Protection UI Tests (https://github.com/mozilla-mobile/fenix/pull/6825)
Add tests for verifying basic UI functionality of Enhanced Tracking Protection
2019-12-16 10:12:43 -05:00
mcarare
d77be2b506 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
2019-12-13 12:19:14 -08:00
Emily Kager
6e8cdfd720 [fenix] No issue: Scroll to remote debugging text in UI Tests (https://github.com/mozilla-mobile/fenix/pull/7117) 2019-12-12 12:00:02 -08:00
ValentinTimisica
3987045df8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4776: Refactored UI tests.
After removing the 'Privacy notice' and 'Help' items from the Settings screen
the UI tests for them became unneeded.
2019-12-12 11:34:10 +02:00
isabelrios
4a62f38670 [fenix] Re-enable Screenshots tests (https://github.com/mozilla-mobile/fenix/pull/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
2019-12-10 13:05:47 +02:00
Oana Horvath
4e1bb19dc0 [fenix] Fixed flaky History UI tests by adding an extra verification step that (https://github.com/mozilla-mobile/fenix/pull/6894)
the page is loaded.

Enabled all tests
2019-12-09 11:52:55 +02:00
Aaron Train
4cf0c56803 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6873: Support many more Content-Type in MockWebServer (UI tests) (https://github.com/mozilla-mobile/fenix/pull/7001)
Ensure our MockResponse can handle different Content-Type e.g, images, to help support other tests
2019-12-06 14:53:18 -05:00
Jeff Boek
fa903dd097 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4664 - Updates search_with string. (https://github.com/mozilla-mobile/fenix/pull/6909) 2019-12-06 10:36:19 -08:00
Richard Pappalardo
101f6a1770 [fenix] Disable flaky testDownloadNotification - API28 (https://github.com/mozilla-mobile/fenix/pull/6982) 2019-12-05 18:00:21 -08:00
Oana Horvath
0cb634facc [fenix] Added multi-selection tests for bookmarks (https://github.com/mozilla-mobile/fenix/pull/6475)
Updated bookmarking method

Fixed flaky tests

Added wait to create bookmark
2019-12-03 12:44:54 +02:00
Aaron Train
0e77c47f42 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6363 - Add Downloads UI tests (https://github.com/mozilla-mobile/fenix/pull/6574)
- Initiates a download
- Verifies prompt
- Verifies notification in notification shade
2019-12-02 17:15:00 -05:00
ekager
333ff28126 [fenix] No issue: Fix search suggestions strings 2019-12-02 21:39:10 +00:00
cesar
51fe91d723 [fenix] klint clean up and previous nit fixed 2019-12-02 16:18:48 +00:00
cesar
85a1b85158 [fenix] Test for 6731 2019-12-02 16:18:48 +00:00
mcarare
b49fd6c3b1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6881 Choose visible view when multiple views have same label text 2019-12-02 14:02:51 +00:00
Oana Horvath
d7bc4a96ce [fenix] Disable UI history tests again for more investigation (https://github.com/mozilla-mobile/fenix/pull/6837) 2019-12-01 19:53:55 -05:00
mcarare
68ba4480cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/6629 Align Private Browsing mode to UX specs 2019-11-27 11:13:20 -08:00
isabelrios
e75264272f [fenix] fix reviewer comments 2019-11-21 15:32:26 -08:00
isabelrios
ee8015ef6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/6322 - UI tests for Account Settings View
removing sleeps

fix ktlint errors
2019-11-21 15:32:26 -08:00
Tiger Oakes
6605d2388d [fenix] For https://github.com/mozilla-mobile/fenix/issues/6523 - Remove close button in library 2019-11-21 15:27:18 -08:00
Patrick Martin
ccb1057a38 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2294 - History URL is cut with a large font set (https://github.com/mozilla-mobile/fenix/pull/6724)
* For https://github.com/mozilla-mobile/fenix/issues/2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
2019-11-21 15:05:59 -08:00
ekager
115b18d3a7 [fenix] Add scroll to item 2019-11-20 10:23:48 -08:00
ekager
6477f73c31 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6707 https://github.com/mozilla-mobile/fenix/issues/6708 - Fix UI Tests for new Search Engine Behavior 2019-11-20 10:23:48 -08:00
Patrick Martin
fe51c6bd42 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2294 - History URL is cut with a large font se 2019-11-19 10:50:17 -08:00
Oana Horvath
ac4939cb9f [fenix] Fixed History flaky tests (https://github.com/mozilla-mobile/fenix/pull/6592)
Ignoring some tests for now and left some to run
2019-11-19 11:29:35 +02:00
cesar
e2610eec54 [fenix] ktlint clean up 2019-11-18 20:07:22 -08:00
cesar
3402ab6636 [fenix] Fixed Typo 2019-11-18 20:07:22 -08:00
cesar
1f32a65e4e [fenix] Test for 6594 2019-11-18 20:07:22 -08:00
cesar
0fd8d98d12 [fenix] Test for 6593 2019-11-18 20:07:22 -08:00
Emily Kager
a4a5315838 [fenix] Add logins to UI test 2019-11-14 16:05:20 -08:00
Oana Horvath
9f4e9dcc69 [fenix] Added a method to detect the UI Theme (https://github.com/mozilla-mobile/fenix/pull/6542) 2019-11-13 08:52:41 -08:00
David Walsh
adfd7798e5 [fenix] Use consistent verbiage with regard to opened tabs (https://github.com/mozilla-mobile/fenix/pull/6550) 2019-11-12 16:06:37 -08:00
Severin Rudie
2e76d82c9a [fenix] 4281 remove qab (https://github.com/mozilla-mobile/fenix/pull/6310)
* For https://github.com/mozilla-mobile/fenix/issues/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
2019-11-11 17:10:14 -08:00
Emily Kager
1b228ac62a [fenix] No issue: Ignore rest of HistoryTest tests (https://github.com/mozilla-mobile/fenix/pull/6450) 2019-11-05 08:53:07 -08:00
Richard Pappalardo
a17bb1d8dd [fenix] Temp disable all History UI tests (https://github.com/mozilla-mobile/fenix/pull/6443) 2019-11-04 15:25:29 -08:00
Richard Pappalardo
cdfba9536a [fenix] Temp disable flaky deleteMultipleSelectionTest (https://github.com/mozilla-mobile/fenix/pull/6405)
* Temp disable flaky deleteMultipleSelectionTest

* Fix indentation
2019-11-04 09:44:44 -08:00
mcarare
6f2df90bc2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1487 Add "my library" menu category and items to home 3-dot menu.
Changed UI tests according to new menu items.
2019-10-31 11:29:49 -07:00
Oana Horvath
956b506474 [fenix] History menu UI tests (https://github.com/mozilla-mobile/fenix/pull/6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
2019-10-29 11:36:19 +02:00
No-Jun Park
e40b258890 [fenix] Collection UI Test added, but set to disabled until Collection is refactored (https://github.com/mozilla-mobile/fenix/pull/6160) 2019-10-28 15:10:19 -04:00
isabelrios
4eb8ad16d0 [fenix] Fix sync test after changes in the syntaxt to check the elements (https://github.com/mozilla-mobile/fenix/pull/6249) 2019-10-28 11:31:32 -04:00
psy0ch
7cc240bcd2 [fenix] Add explanation to @Ignore in CollectionTest (https://github.com/mozilla-mobile/fenix/pull/6238)
https://github.com/mozilla-mobile/fenix/issues/6235
2019-10-24 10:23:03 -07:00
Aaron Train
aa400955a6 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6172 - Convert waitNotNull into extension function for UI tests (https://github.com/mozilla-mobile/fenix/pull/6220) 2019-10-23 17:40:28 -04:00
Aaron Train
16eebc77c9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6031 - Wrap waits with assert check; adjust timer check (https://github.com/mozilla-mobile/fenix/pull/6084)
See https://github.com/mozilla-mobile/fenix/issues/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
2019-10-23 10:55:19 -04:00
Tiger Oakes
0af2e9d821 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3366 - Use one layout for edit/add bookmark (https://github.com/mozilla-mobile/fenix/pull/5900) 2019-10-21 10:06:08 -07:00
isabelrios
e6e5ab6ffb [fenix] Fix https://github.com/mozilla-mobile/fenix/issues/6004: Add UI sync integration test for Bookmarks (https://github.com/mozilla-mobile/fenix/pull/6019)
* Fix https://github.com/mozilla-mobile/fenix/issues/6004: Add UI sync integration test for Bookmarks

* fix two typos
2019-10-21 10:01:17 -07:00
Richard Pappalardo
1839ce12f1 [fenix] Add verify items tests for settings menus 2019-10-21 08:24:47 -07:00
MozLando
66e7638fb7 [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/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>
2019-10-11 14:43:39 +00:00
Emily Kager
b36c9c67dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/1901 - Get rid of black flash when leaving GV Engine 2019-10-09 11:02:21 -07:00
Sawyer Blatz
129951e3a9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5534: Temporarily disables find in page test 2019-10-08 16:17:38 -07:00