Skip to content

Conversation

acrellin
Copy link
Member

@acrellin acrellin commented Apr 2, 2018

Closes #245

@acrellin acrellin force-pushed the firefox branch 4 times, most recently from 4c59fc7 to d27a5b3 Compare April 4, 2018 19:02
@acrellin acrellin added this to the v1.0 release milestone Apr 16, 2018
@acrellin acrellin force-pushed the firefox branch 4 times, most recently from dac159d to 428a3ad Compare May 3, 2018 19:14
@pep8speaks
Copy link

pep8speaks commented May 4, 2018

Hello @acrellin! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on May 15, 2018 at 20:17 Hours UTC

@acrellin
Copy link
Member Author

@stefanv there's a mysterious thing happening on Travis where whichever of the two file upload tooltip tests runs last always fails, even when they're separated into separate files. I can't reproduce this locally, and have the same selenium and Firefox/GeckoDriver versions. For now I've disabled one of the two file upload tooltip tests, and everything else is passing now.

@stefanv
Copy link
Contributor

stefanv commented May 14, 2018

@acrellin I think that's the right approach for now; the tooltips aren't important enough to hold back the rest.

path = baselayer
url = git://github.com/cesium-ml/baselayer.git
branch = master
branch = firefox
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change this to master when we merge the associated baselayer PR.

driver.find_element_by_id('react-tabs-4'))
hover.perform()
time.sleep(0.8)
time.sleep(1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use our standard approach here for awaiting a new element, instead of doing an explicit sleep?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, the problem with that approach is that the element exists before it is displayed. Thus the sleep here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps, then, we are checking for the wrong thing. Should we check that the element is visible/selected/contains the expected text/whatever is applicable in each instance instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's effectively what we're doing - checking that the element is displayed and contains the expected text.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, but you need to wait until it is updated, otherwise it fails too early. I was hoping for a construct like "wait until this condition is true; but keep trying for at least 5 seconds". Does that exist? I'm merging in the mean time.

path = baselayer
url = git://github.com/cesium-ml/baselayer.git
branch = master
branch = firefox
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we merge this into master before continuing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good - wanna merge my new baselayer PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see those tests are failing; do you know why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stefanv yeah, because those changes break the cesium_web tests, and the fixes are in this PR. So they'll need to be merged simultaneously

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we'll need to merge this first, then baselayer, then update this to use the master branch.

@stefanv stefanv merged commit a93ca9e into cesium-ml:master May 16, 2018
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.

3 participants