full passing test suite w. new stripe integration across multiple project nodes; new gameboard django app; stripe in test mode on staging
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -104,6 +104,12 @@ class WalletDisplayTest(FunctionalTest):
|
||||
By.CSS_SELECTOR, "#id_stripe_payment_element iframe"
|
||||
)
|
||||
self.browser.switch_to.frame(stripe_frame)
|
||||
# 4a. Wait for card inputs to render inside iframe
|
||||
self.wait_for(
|
||||
lambda: self.browser.find_element(
|
||||
By.CSS_SELECTOR, 'input[placeholder="1234 1234 1234 1234"]'
|
||||
)
|
||||
)
|
||||
# 5. Fill in Stripe test card details
|
||||
self.browser.find_element(
|
||||
By.CSS_SELECTOR, 'input[placeholder="1234 1234 1234 1234"]'
|
||||
@@ -115,7 +121,7 @@ class WalletDisplayTest(FunctionalTest):
|
||||
By.CSS_SELECTOR, 'input[placeholder="CVC"]'
|
||||
).send_keys("424")
|
||||
self.browser.find_element(
|
||||
By.CSS_SELECTOR, 'input[placeholder="ZIP"]'
|
||||
By.CSS_SELECTOR, 'input[placeholder="12345"]'
|
||||
).send_keys("42424")
|
||||
# 6. Return to main doc & submit form
|
||||
self.browser.switch_to.default_content()
|
||||
|
||||
Reference in New Issue
Block a user