2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00
Commit Graph

102 Commits

Author SHA1 Message Date
Oana Horvath
46439930c0
Fixed flaky History UI tests by adding an extra verification step that (#6894)
the page is loaded.

Enabled all tests
2019-12-09 11:52:55 +02:00
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
2019-12-06 14:53:18 -05:00
Jeff Boek
4fb26a0601 For #4664 - Updates search_with string. (#6909) 2019-12-06 10:36:19 -08:00
Richard Pappalardo
2225b7154a
Disable flaky testDownloadNotification - API28 (#6982) 2019-12-05 18:00:21 -08:00
Oana Horvath
85dd56e12d
Added multi-selection tests for bookmarks (#6475)
Updated bookmarking method

Fixed flaky tests

Added wait to create bookmark
2019-12-03 12:44:54 +02:00
Aaron Train
35f136b14b
Closes #6363 - Add Downloads UI tests (#6574)
- Initiates a download
- Verifies prompt
- Verifies notification in notification shade
2019-12-02 17:15:00 -05:00
ekager
3df32edff0 No issue: Fix search suggestions strings 2019-12-02 21:39:10 +00:00
cesar
5b86c403b0 klint clean up and previous nit fixed 2019-12-02 16:18:48 +00:00
cesar
d955eae4e2 Test for 6731 2019-12-02 16:18:48 +00:00
mcarare
22879b533e For #6881 Choose visible view when multiple views have same label text 2019-12-02 14:02:51 +00:00
Oana Horvath
715a79de71 Disable UI history tests again for more investigation (#6837) 2019-12-01 19:53:55 -05:00
mcarare
c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 2019-11-27 11:13:20 -08:00
isabelrios
3fc263d547 fix reviewer comments 2019-11-21 15:32:26 -08:00
isabelrios
6b7f89433a For #6322 - UI tests for Account Settings View
removing sleeps

fix ktlint errors
2019-11-21 15:32:26 -08:00
Tiger Oakes
0a86676563 For #6523 - Remove close button in library 2019-11-21 15:27:18 -08:00
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
2019-11-21 15:05:59 -08:00
ekager
dba2186e86 Add scroll to item 2019-11-20 10:23:48 -08:00
ekager
81ab082c1c For #6707 #6708 - Fix UI Tests for new Search Engine Behavior 2019-11-20 10:23:48 -08:00
Patrick Martin
8abf580579 For #2294 - History URL is cut with a large font se 2019-11-19 10:50:17 -08:00
Oana Horvath
c9e4303fa0
Fixed History flaky tests (#6592)
Ignoring some tests for now and left some to run
2019-11-19 11:29:35 +02:00
cesar
984d8c7b13 ktlint clean up 2019-11-18 20:07:22 -08:00
cesar
808740e4c9 Fixed Typo 2019-11-18 20:07:22 -08:00
cesar
d69ead201b Test for 6594 2019-11-18 20:07:22 -08:00
cesar
d9ded1f715 Test for 6593 2019-11-18 20:07:22 -08:00
Emily Kager
1c26851dea Add logins to UI test 2019-11-14 16:05:20 -08:00
Oana Horvath
0cfde5b86a Added a method to detect the UI Theme (#6542) 2019-11-13 08:52:41 -08:00
David Walsh
9d5c03c067 Use consistent verbiage with regard to opened tabs (#6550) 2019-11-12 16:06:37 -08:00
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
2019-11-11 17:10:14 -08:00
Emily Kager
cf8cab8eb1 No issue: Ignore rest of HistoryTest tests (#6450) 2019-11-05 08:53:07 -08:00
Richard Pappalardo
fa780f6790
Temp disable all History UI tests (#6443) 2019-11-04 15:25:29 -08:00
Richard Pappalardo
01b4213b2a Temp disable flaky deleteMultipleSelectionTest (#6405)
* Temp disable flaky deleteMultipleSelectionTest

* Fix indentation
2019-11-04 09:44:44 -08:00
mcarare
675fe6a3a9 For #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
7813fb22d4
History menu UI tests (#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
ad94d49f24
Collection UI Test added, but set to disabled until Collection is refactored (#6160) 2019-10-28 15:10:19 -04:00
isabelrios
b413a57159 Fix sync test after changes in the syntaxt to check the elements (#6249) 2019-10-28 11:31:32 -04:00
psy0ch
165b1420b7 Add explanation to @Ignore in CollectionTest (#6238)
#6235
2019-10-24 10:23:03 -07:00
Aaron Train
23c98f9908
Closes #6172 - Convert waitNotNull into extension function for UI tests (#6220) 2019-10-23 17:40:28 -04:00
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
2019-10-23 10:55:19 -04:00
Tiger Oakes
4e3a3665d6 For #3366 - Use one layout for edit/add bookmark (#5900) 2019-10-21 10:06:08 -07:00
isabelrios
06c1ef49b2 Fix #6004: Add UI sync integration test for Bookmarks (#6019)
* Fix #6004: Add UI sync integration test for Bookmarks

* fix two typos
2019-10-21 10:01:17 -07:00
Richard Pappalardo
744d177dd0 Add verify items tests for settings menus 2019-10-21 08:24:47 -07:00
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>
2019-10-11 14:43:39 +00:00
Emily Kager
f9afd97a68 For #1901 - Get rid of black flash when leaving GV Engine 2019-10-09 11:02:21 -07:00
Sawyer Blatz
0e435b8b7b For #5534: Temporarily disables find in page test 2019-10-08 16:17:38 -07:00
Aaron Train
e6d29df5de
No issue: fixes refreshTest (#5792) 2019-10-08 12:20:04 -04:00
isabelrios
0e3148f0da fixing more reviewers comments 2019-10-08 09:56:29 +02:00
isabelrios
2fc6eaf5d4 fixing reviewers comments
improve writing email and password in file
2019-10-08 09:56:29 +02:00
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
2019-10-08 09:56:29 +02:00
sv-ohorvath
bb7caa6365 Boomkarks UI tests
Added a comment to the clear all bookmarks method
2019-10-07 10:45:04 -07:00
Sawyer Blatz
785b8b9519
For #5567: Removes search shortcuts button (#5739)
* For #5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
2019-10-03 08:53:16 -07:00