Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Exceeding quota of Google Maps API causes test to fail #229

Open
jhsu802701 opened this issue May 23, 2019 · 0 comments
Open

Exceeding quota of Google Maps API causes test to fail #229

jhsu802701 opened this issue May 23, 2019 · 0 comments

Comments

@jhsu802701
Copy link
Collaborator

The error message:

  1) Adoption Form Signed in user clicks a thing Opens the "Adopt this Tree" form
     Failure/Error: expect(page).to have_selector('#adoption_form', wait: 20)
     Capybara::Poltergeist::JavascriptError:
       One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
       You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
       You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
           at http://maps.googleapis.com/maps/api/js?key=:51 in Oc
     # ./spec/features/adoption_form_spec.rb:32:in `block (3 levels) in <top (required)>'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant