2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Commit Graph

280 Commits

Author SHA1 Message Date
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
Richard Pappalardo
bc471ea59c
Fixes #5758 - Increase UI test wait time (#5759) 2019-10-03 07:54:10 -07:00
ekager
7dab810ee6 For #5534 - Make FIP Robot Wait for Text Changes 2019-09-30 13:17:29 -07:00
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
2019-09-26 14:25:34 -07:00
Sawyer Blatz
856399e9e2
No issue: Fixes GleanMetricsService nits & broken UI test (#5539)
* No issue: Fixes GleanMetricsService nits

* No issue: fixes broken UI test
2019-09-24 16:12:09 -07:00
Richard Pappalardo
057451178c
Move UI tests to x86 devices on Firebase (#5463) 2019-09-22 19:19:10 -07:00
Sawyer Blatz
50cd2920d3
For #5371: Updates search engine settings string (#5393) 2019-09-18 11:26:44 -07:00
ekager
1d66af34b0 No issue: Fixes UI tests by removing TP onboarding closure 2019-09-15 19:47:16 -07:00
Richard Pappalardo
16ec5858ad fix: broken UI tests (#5324) 2019-09-13 17:30:53 -07:00
Oana Horvath
8ea836bf13 Adds 2 new tests to SearchTest (#4770) 2019-09-13 10:11:33 -07:00
No-Jun Park
3cdcbe4af6 fix TabbedBrowsingTest.kt failure where Share Tabs element was not found (#5282) 2019-09-12 15:56:35 -07:00
Oana Horvath
7402013126 added LibraryMenuTest, BookmarksRobot, HistoryRobot (#4769)
ran ktlint

added the goBack()method in  Transition

added the goBack method in Transition
2019-09-11 09:09:22 -07:00
Aaron Train
017fb625dd
Closes #5192 - Add UI Test for "What's New" menu option (#5193) 2019-09-11 11:41:05 -04:00
No-Jun Park
a1be6183f3
Create homeview share dialog UITest (#5160)
Share Button UI test added
Collection test steps created
2019-09-10 15:03:47 -04:00
Aaron Train
5e7672b59e
Closes #5137 - Add Find in Page UI Test (#5138) 2019-09-09 14:16:47 -04:00
Richard Pappalardo
d18ec43bcb Temporarily disable broken UI test (#5136) 2019-09-05 10:22:14 -07:00
Aaron Train
2bbb4c29ff
Closes #4926: Add basic UI test for regular/private tabs (#4928) 2019-08-27 13:56:12 -04:00
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
2019-08-23 13:37:52 -07:00
Richard Pappalardo
ca24dd6ea8 Stub out Settings tests 2019-08-21 13:52:03 -07:00
Yeon Taek Jeong
6f899c7fb5
For #2834: Delete all Private Tabs redesign (#4787) 2019-08-20 13:10:08 -07:00
Aaron Train
ae05bf98e2
Closes #4618 - Stub Library UI tests (#4619)
See #4572
2019-08-19 14:05:10 -04:00
Emily Kager
c9598bc4d1 For #4688 - Try to use context instead of targetContext (#4765) 2019-08-16 10:12:56 -07:00
Emily Kager
d07d74e8d3 For #4688 - Try slightly different Context class for MockWebServer (#4747) 2019-08-15 08:05:23 -07:00
Emily Kager
f71106cb51 Closes #3860 - Update description text for collections 2019-08-14 17:13:52 -04:00
isabelrios
7729cb63a7 Fix UI Screenshot TabMenuTest (#4730) 2019-08-14 11:57:36 -05:00
Sawyer Blatz
167b2ef002 No issue: Removes deprecated usage of InstrumentationRegistry 2019-08-08 17:35:13 -07:00
Emily Kager
c21c91eac5 No issue: Update testing dependencies and deprecated method (#4608) 2019-08-08 09:03:39 -07:00
Richard Pappalardo
422818c917
Stub out tabs tests (#4573) 2019-08-07 09:54:38 -07:00
Emily Kager
4bbb291e8d No issue: Update UI tests with new engine shortcuts behavior (#4552) 2019-08-06 08:30:15 -07:00
ekager
d0071d0177 For #4495 - Clean up homescreen toolbar focus and content descriptions 2019-08-05 08:58:03 -07:00
Emily Kager
890833d7ac No issue: Fix failing UI tests because of renamed views (#4527) 2019-08-05 10:09:34 -05:00
Sawyer Blatz
f89cefe92c No issue: Fixes failing UI test on master 2019-08-01 19:10:51 -04:00
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
2019-08-01 08:35:47 -07:00
Andrey Mukamolov
965d99a1c1 For #2142: Added UI test assertion 2019-07-29 09:26:33 -07:00
Richard Pappalardo
b39afe1548
Add taskcluster job for UI tests (#4088) 2019-07-26 08:08:01 -07:00
isabelrios
a05d3e2aa0 For #4260 - UITests update data collection string (#4261) 2019-07-24 10:05:28 -07:00
Sawyer Blatz
6480f405e2
Fixes #4091 & Fixes #4092: Resolve issues with Search UI tests (#4224) 2019-07-23 09:30:57 -07:00
isabelrios
a984bb4799 For #4094 - Improved original PR to fix screenshots tests API21 (#4144)
use robot for three dot menu screenshot
2019-07-22 09:58:53 -07:00
Richard Pappalardo
ac37d4971c Revert "For #4094 - Fix screenshots tests on API 21 devices (#4108)" (#4138)
This reverts commit d8e45e55d4.
2019-07-17 14:58:12 -07:00
isabelrios
d8e45e55d4 For #4094 - Fix screenshots tests on API 21 devices (#4108)
fix ktlint error
2019-07-17 14:27:59 -07:00
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
2019-07-16 13:02:12 -07:00
Sawyer Blatz
6b29affbee No issue: Speed up onboarding UI test (#4061) 2019-07-15 17:02:55 -05:00
Sawyer Blatz
c779889cbd
Closes #4027: Adds search fragment UI tests (#4033) 2019-07-15 14:25:31 -07:00
Sawyer Blatz
6b639b1a32
For #4032: Fixes broken homescreen UI tests (#4011) 2019-07-12 16:19:08 -07:00
Tiger Oakes
ef8d9604ae No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
Richard Pappalardo
329c7d6e66
Update HomeScreenTest and add first run (#3951) 2019-07-09 14:52:15 -07:00
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
2019-07-08 11:00:29 -05:00
Richard Pappalardo
e7d0bfe581
Update HomeScreenTest (#3882) 2019-07-05 10:38:09 -07:00
Richard Pappalardo
ba3edbcf92
Add automated UI test for main three dot menu (#2540) 2019-05-15 17:32:25 -07:00
Kevin Brosnan
493bab42a4 UI tests for the home screen 2019-04-16 13:38:06 -07:00
Emily Kager
476a8619a9 Remove test imports 2019-03-01 17:48:44 -08:00
Colin Lee
b2b6a530d0 Make ktlint and detekt style changes 2019-01-30 11:08:25 -06:00
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>
2018-12-07 15:25:38 -05:00