We had this failure several times. It failed on the step Can see the payment button inserted into the visual editor but failure happened on the previous step, Can insert the payment button, because payment modal didn't disappear in an expected time frame.
I added additional waitTillNotPresent in insertPaymentButton() and increased timeout. This way, test will show an appropriate error message, if it fails for the same reason.
To test:
Make sure that Editor: Pages: Insert a payment button: @parallel @jetpack and Editor: Posts: Insert a payment button: @parallel @jetpack are passing, both desktop and mobile
We had this failure several times. It failed on the step
Can see the payment button inserted into the visual editor
but failure happened on the previous step,Can insert the payment button
, because payment modal didn't disappear in an expected time frame.I added additional
waitTillNotPresent
ininsertPaymentButton()
and increased timeout. This way, test will show an appropriate error message, if it fails for the same reason.To test: Make sure that
Editor: Pages: Insert a payment button: @parallel @jetpack
andEditor: Posts: Insert a payment button: @parallel @jetpack
are passing, both desktop and mobile