-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For #24855: Allow updating and deleting an existing address. #25031
Conversation
1c1427a
to
dcb91dd
Compare
app/src/main/java/org/mozilla/fenix/settings/address/view/AddressEditorView.kt
Outdated
Show resolved
Hide resolved
3ada316
to
98c161b
Compare
9369651
to
99d7aa2
Compare
66bc668
to
dbf5351
Compare
I rearranged the code between commits and I moved the strings in the respective commits (Although we have previously pre-landed strings for some features). I have preferred to have all commits in a single PR because all the work was related and it was based on previous changes. The alternative would have been to start them individually and be blocked by waiting for a review or not wait for a review before starting related work and be forced to constantly rebase work after reviews. |
val addressEditorView = spyk(AddressEditorView(binding, interactor, address)) | ||
addressEditorView.bind() | ||
|
||
assertEquals(View.VISIBLE, binding.deleteButton.visibility) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note that we could've tested the isVisible
property instead.
|
||
controller.handleUpdateAddress(address.guid, addressFields) | ||
|
||
coVerifySequence { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is interesting - first time seeing this usage.
10e64c1
to
36d6d4d
Compare
Removing the needs-landing label since it is blocking the AC bump. |
…ast address is deleted.
Fixes #24855
Pull Request checklist
To download an APK when reviewing a PR: