This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Support UI testing composables by using testTag #26826
Closed
Mugurell opened this issue
Sep 5, 2022
· 3 comments
· Fixed by #26843, #27843, nathanmkaya/fenix#108, fork-house/fenix#14 or Leland-Takamine/fenix#159
Closed
Support UI testing composables by using testTag #26826
Mugurell opened this issue
Sep 5, 2022
· 3 comments
· Fixed by #26843, #27843, nathanmkaya/fenix#108, fork-house/fenix#14 or Leland-Takamine/fenix#159
Milestone
Comments
4 tasks
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 6, 2022
Split the ClickableSubstringLink to two separate strings which can be used separately in UI tests. Deleted the ClickableSubstringLink as it is now unused and although better supports a link inside a string it's seen that it cannot be used in tests and so we should also not use it in code.
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 6, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 6, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 6, 2022
4 tasks
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 14, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 14, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 14, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Sep 14, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 8, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 9, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 9, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 9, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 9, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 9, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 9, 2022
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 9, 2022
@sv-ohorvath / @AndiAJ to confirm that the new |
Thanks @Mugurell for helping us out ! ❤️ I'll remove the label, and if problems occur while trying query and to interact with the items will ping you. |
Mugurell
added a commit
to Mugurell/fenix
that referenced
this issue
Nov 15, 2022
4 tasks
This was referenced Dec 13, 2022
Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1807300 Change performed by the Move to Bugzilla add-on. |
JohanLorenzo
pushed a commit
to mozilla-mobile/firefox-android
that referenced
this issue
Feb 14, 2023
JohanLorenzo
pushed a commit
to mozilla-mobile/firefox-android
that referenced
this issue
Feb 14, 2023
… tabs section.
JohanLorenzo
pushed a commit
to mozilla-mobile/firefox-android
that referenced
this issue
Feb 14, 2023
… visits section.
JohanLorenzo
pushed a commit
to mozilla-mobile/firefox-android
that referenced
this issue
Feb 14, 2023
… bookmarks section.
JohanLorenzo
pushed a commit
to mozilla-mobile/firefox-android
that referenced
this issue
Feb 14, 2023
…fferentiate Pocket stories
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After discussing with the QA team it was apparent that testing is currently hindered by the inability / inefficiency of identifying composables on the screen.
testTag
s are the approach recommended by the Compose team to help with that - https://developer.android.com/jetpack/compose/testing and we are already using them in A-C - https://searchfox.org/mozilla-mobile/search?q=testTag&path=&case=true®exp=falseI propose starting to add (even retroactively for the scenarios raised by QA)
testTag
s to the composables used on Fenix with the following naming scheme:Compose v1.2 will also allow better interoperability with UIAutomator by allowing the
testTag
s to be used in already common calls in the form ofAn update to this newer version is prepared in #26763.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: