#Empress Brosephine - boilerplate
1 messages · Page 1 of 1 (latest)
This is what we're receiving
js Lesson Signup
1) "before all" hook for "Should not find any Invalid/Hardcoded PubKey in the BeforeAll Hook Check:3.0"Setup Intents Route
2) "before all" hook for "Should attach only one Payment Method per Customer:3.28"0 passing (11s)
2 failing
- Lesson Signup
"before all" hook for "Should not find any Invalid/Hardcoded PubKey in the BeforeAll Hook Check:3.0":
CypressError: Timed out retrying after 4050ms:cy.click()failed because this element:
<button class="lesson-book" id="first">Book now!</button>is being covered by another element:
`<div class="lesson-form">...</div>
The issue is we are even trying to send Stripes provided boilerplate without changes and its still bugging out
Thanks Pompey and hello again! 🙂
No worries, so Stripe has a certification for partners that is to basically wire up a React app to work with SetupIntents.
Once you submit a PR to github though, Stripe runs a Cypress test suite on it. The issue we're running into is that for some reason, Cypress is rejecting the DOM set up by Stripe in the boilerplate. The subside to that issue is that the certification says not to manipulate DOM elements so we're kind of at a standstill here
Lesson Signup
1) "before all" hook for "Should not find any Invalid/Hardcoded PubKey in the BeforeAll Hook Check:3.0"
Setup Intents Route
2) "before all" hook for "Should attach only one Payment Method per Customer:3.28"
0 passing (10s)
2 failing
1) Lesson Signup
"before all" hook for "Should not find any Invalid/Hardcoded PubKey in the BeforeAll Hook Check:3.0":
CypressError: Timed out retrying after 4050ms: `cy.click()` failed because this element:
`<button class="lesson-book" id="first">Book now!</button>`
is being covered by another element:
`<div class="lesson-form">...</div>`
is the full error readout from Cypress
@spare nebula I might've fixed it....waiting on the test to run now
That is good to hear!
I think the React Boilerplate Stripe provides though has some issues lol
Gotcha. If you have specific fixes I'd definitely say to write in to our support team about them so that we can raise that as feedback and potentially fix
false alarm....didn't work again
Gotcha. Unfortunately I'm not that familiar with that process so I'd say reach out to our support team about this. The person you initially talk to might not know how to fix this but they should be able to put you in contact with someone who does https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.