stripe-ios/Tests/ReferenceImages_64/StripeiOS_Tests.AddPaymentM...
Yuki b981bc3584
Preserve complete billing & card details across `update` calls (#2415)
* Pass the customers previous input (as a paymentOption) to the PS.FC viewcontroller when update finishes

* nit

* Prefer previous customer input to configuration default billing details in the form factory

* Snapshot test for AddPMVC

* Flow defaults to card, add test for a card form + full billing details

* fixups

* Update test to check the update did the right thing, remove todo to test paymentOption preservation -- to hard to do in a unit test b/c it involves user input. Will do this in a UI test later

* fix typo in unrelated test

* improve test

* lint

* add some safety checks to ensure we only restore once and only if the pm type is still valid

* Add test that previous PM input is specific to the PM

* Fix not setting delegate

* lint
2023-03-27 11:29:49 -07:00
..
test_with_previous_customer_card_details_and_checkbox@3x.png Preserve complete billing & card details across `update` calls (#2415) 2023-03-27 11:29:49 -07:00