1
0
Fork 0
Commit Graph

243 Commits (feae7fff2fd525ab37fbc1105b691e1f3578977e)

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
2019-12-26 14:22:40 -08:00
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 2019-12-23 10:07:02 -08:00
Richard Pappalardo f85961d9a9 Temp disable flaky UI testDownloadPrompt (#7304) 2019-12-20 10:31:43 +02:00
Aaron Train 757c9577e0
No issue: Fixes breakage with unused import in 4a2cb91 (#7205) 2019-12-16 11:55:44 -05:00
Aaron Train 4a2cb91ad9
For #6697: Add Tracking Protection UI Tests (#6825)
Add tests for verifying basic UI functionality of Enhanced Tracking Protection
2019-12-16 10:12:43 -05:00
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
2019-12-13 12:19:14 -08:00
Emily Kager 558f90da00 No issue: Scroll to remote debugging text in UI Tests (#7117) 2019-12-12 12:00:02 -08:00
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.
2019-12-12 11:34:10 +02:00
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
2019-12-10 13:05:47 +02:00
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
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 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
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
Richard Pappalardo 744d177dd0 Add verify items tests for settings menus 2019-10-21 08:24:47 -07: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
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
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 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
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
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