Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set up github actions CI instead of Travis #503

Merged
merged 8 commits into from
Feb 16, 2021
Merged

set up github actions CI instead of Travis #503

merged 8 commits into from
Feb 16, 2021

Conversation

@gitpod-io
Copy link

gitpod-io bot commented Feb 16, 2021

@jywarren jywarren mentioned this pull request Feb 16, 2021
5 tasks
@jywarren
Copy link
Member Author

@jywarren
Copy link
Member Author

That change didn't work -- i still see:

     Uncaught Error: Invalid LatLng object: (0, Cat Ranch)

Hmm.

@jywarren
Copy link
Member Author

OK same timeout issue wrt Skytruth now:

     CypressError: Timed out retrying: Expected to find element: '', but never found it. Queried from element: <div.leaflet-pane.leaflet-marker-pane>

OK this is an HTTPS issue on Skytruth: https://alerts1.skytruth.org/json?n=100&l=29.103173641957888,-90.26628971099854,29.4625145059195,-88.44942569732667

@jywarren
Copy link
Member Author

updated cypress.json with { chromeWebSecurity: false } cypress-io/cypress#4803

@jywarren
Copy link
Member Author

This could also be an instance of this: https://docs.cypress.io/guides/references/error-messages.html#CypressError-Timed-out-retrying-Expected-to-find-element-%E2%80%98%E2%80%A6%E2%80%99-but-never-found-it-Queried-from-element-lt-%E2%80%A6-gt

CypressError: Timed out retrying: Expected to find element: ‘…’, but never found it. Queried from element: <…>

If you get this error in a case where the element is definitely visible in the DOM, your document might contain malformed HTML. In such cases, document.querySelector() will not find any elements that appear after the point where the HTML is malformed. Even if you feel certain your HTML is not malformed anywhere, check it anyway (line by line in the dev tools). Especially if you’ve exhausted all other possibilities.

@jywarren
Copy link
Member Author

Stuck at:

CypressError: Timed out retrying: Expected to find element: '', but never found it. Queried from element: <div.leaflet-pane.leaflet-marker-pane>

@jywarren
Copy link
Member Author

The specific error is on this line:

cy.get('.leaflet-marker-pane').children().should('have.length', 2)

I'm looking for malformed HTML around there...

@jywarren
Copy link
Member Author

Yay!!! This worked! Merging.

@jywarren
Copy link
Member Author

Hi @daemon1024 see here is where we implemented GitHub Actions and it seemed to work fine in Cypress as well as with those two layers there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant