Skip to content

Two specs using zuora_payment_iframe failing

Problem

Two specs in the rspec job are causing failing frequently and causing many failing pipelines.

Failures:
  1) purchase new cloud subscriptions without payment methods successfully purchase a GitLab.com subscription
     Failure/Error: expect(page).to have_no_css('.gl-spinner-container')
       expected not to find visible css ".gl-spinner-container", found 1 match: ""
     # ./spec/features/new_gitlab_subscription_spec.rb:64:in `block (3 levels) in <top (required)>'
  2) purchase new EE Subscriptions when payment method does not exist successfully purchase an EE subscription
     Failure/Error:
       within_frame(find(:css, 'iframe#z_hppm_iframe')) do
         find('#input-creditCardNumber').set(credit_card_number)
         select(exp_month, from: 'input-creditCardExpirationMonth')
         select(exp_year, from: 'input-creditCardExpirationYear')
         find('#input-cardSecurityCode').set(cvv)
         find('#input-creditCardHolderName').set(name)
       end
     Capybara::ElementNotFound:
       Unable to find visible css "iframe#z_hppm_iframe"
     # ./spec/support/helpers/zuora_iframe_test_helpers.rb:13:in `fill_zuora_payment_iframe'
     # ./spec/features/new_ee_subscription_spec.rb:59:in `block (3 levels) in <top (required)>'

Proposal

Determine what caused these to fail now or at least find a solution to get them passing again.