Skip to content

Add tests for PaymentResponse.retry() - #11101

Merged
marcoscaceres merged 9 commits into
masterfrom
payment_request_retry
Aug 13, 2018
Merged

marcoscaceres merged 9 commits into
masterfrom
payment_request_retry

Conversation

@marcoscaceres

@marcoscaceres marcoscaceres commented May 22, 2018 •

Copy link
Copy Markdown
Contributor

@marcoscaceres

Copy link
Copy Markdown
Contributor Author

@mnoorenberghe, when possibly, would appreciate review of these tests - so I can land the first part of retry().

@marcoscaceres
marcoscaceres force-pushed the payment_request_retry branch from 9013a3a to c8d8dd5 Compare June 18, 2018 22:13
@marcoscaceres

Copy link
Copy Markdown
Contributor Author

@domenic, I added two manual (😿) tests for "fully active", based on PaymentRequest.show()'s tests...

  1. Immediate check .retry() being called on document that is not fully active.
  2. After .retry() is called, the then document becomes not fully active.

@marcoscaceres

Copy link
Copy Markdown
Contributor Author

Gentle ping, fellow reviewers 🍰

aarongable pushed a commit to chromium/chromium that referenced this pull request Aug 2, 2018
This patch only includs an implementation of PaymentResponse.retry() in
renderer and mojo side. We should implement UI in browser side in follow
up CLs.

Once this patch is applied, most test cases will be passed except when
the UI is required.

Intent to implement:
  https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/wayZGnuBkrI

Test:
  //components/payments/core/payments_validators_unittest.cc
  //third_party/blink/renderer/modules/payments/payments_validators_test.cc
  web-platform-tests/wpt#11101

Bug: 861704
Change-Id: I8a644a32ed589a2292ad021f5699105482ad9dd1
Reviewed-on: https://chromium-review.googlesource.com/1142045
Reviewed-by: Kinuko Yasuda <[email protected]>
Reviewed-by: Rouslan Solomakhin <[email protected]>
Commit-Queue: Jinho Bang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#580126}
@marcoscaceres

Copy link
Copy Markdown
Contributor Author

@domenic, any chance you could review these? I'm struggling to find people to help me with reviewing tests 😢

@domenic

domenic commented Aug 10, 2018

Copy link
Copy Markdown
Member

Sorry, I don't have the bandwidth for this :(. Hopefully anyone who's planning to implement would be willing to review?

@marcoscaceres
marcoscaceres requested review from rsolomakhin and removed request for MSFTkihans, domenic and mnoorenberghe August 10, 2018 23:09
@marcoscaceres

Copy link
Copy Markdown
Contributor Author

Np, maybe @rsolomakhin?

@wpt-pr-bot

Copy link
Copy Markdown
Collaborator

There are no reviewers for this pull request besides its author. Please reach out on W3C's irc server (irc.w3.org, port 6665) on channel #testing (web client) to get help with this. Thank you!

@marcoscaceres
marcoscaceres merged commit 2f996e7 into master Aug 13, 2018
@sideshowbarker
sideshowbarker deleted the payment_request_retry branch November 22, 2018 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants