Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Pages/PaymentStripe.php
Show All 34 Lines | class PaymentStripe extends Page | ||||
*/ | */ | ||||
public function elements(): array | public function elements(): array | ||||
{ | { | ||||
return [ | return [ | ||||
'@form' => '.App-Payment > form', | '@form' => '.App-Payment > form', | ||||
'@title' => '.App-Overview .ProductSummary', | '@title' => '.App-Overview .ProductSummary', | ||||
'@amount' => '#ProductSummary-totalAmount', | '@amount' => '#ProductSummary-totalAmount', | ||||
'@description' => '#ProductSummary-Description', | '@description' => '#ProductSummary-Description', | ||||
'@email-input' => '.App-Payment #email', | '@email' => '.App-Payment .ReadOnlyFormField-email .ReadOnlyFormField-content', | ||||
'@cardnumber-input' => '.App-Payment #cardNumber', | '@cardnumber-input' => '.App-Payment #cardNumber', | ||||
'@cardexpiry-input' => '.App-Payment #cardExpiry', | '@cardexpiry-input' => '.App-Payment #cardExpiry', | ||||
'@cardcvc-input' => '.App-Payment #cardCvc', | '@cardcvc-input' => '.App-Payment #cardCvc', | ||||
'@name-input' => '.App-Payment #billingName', | '@name-input' => '.App-Payment #billingName', | ||||
'@submit-button' => '.App-Payment form button.SubmitButton', | '@submit-button' => '.App-Payment form button.SubmitButton', | ||||
]; | ]; | ||||
} | } | ||||
Show All 16 Lines |