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

Version bump to 2.0.2, added Changelog #60

Merged
merged 2 commits into from
Feb 23, 2016

Conversation

bradenmacdonald
Copy link
Contributor

This is a version bump so I can tag a new release and get the important fixes from #55 deployed to edx.org.

I also added a changelog and fixed some flaky tests observed while opening this PR.

@bradenmacdonald bradenmacdonald force-pushed the tag-2.0.2 branch 12 times, most recently from 1faac31 to 81462fa Compare February 21, 2016 09:35
element.find_element_by_class_name('input').send_keys(value)
# Since virtual-dom may be updating DOM elements by replacing them completely, the
# following method must be used to wait for the input box to appear:
textbox_visible_selector = '.numerical-input[style*="display: block"] input'
Copy link
Contributor

Choose a reason for hiding this comment

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

@bradenmacdonald Would it be possible to use is_displayed() instead of the style selector?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mtyaka I don't think so? I was seeing flaky tests and I think one reason is that if we use this pattern (note wait_until_visible uses is_displayed):

element = find_element_by_class_name('blah')
self.wait_until_visible(element)

Then sometimes between the first line and the second line, virtual_dom deletes the element and replaces it with a new one, which then causes this Selenium error: "The element is no longer attached to the DOM."

@mtyaka
Copy link
Contributor

mtyaka commented Feb 22, 2016

Added a couple of nits, but it looks good 👍

@bradenmacdonald
Copy link
Contributor Author

@dianakhuang Could you please review this small dndv2 PR as well? It's mostly a version bump so I can tag a new version to update in the edx-platform requirements file and include the fixes you reviewed in #54. I also fixed some flaky tests. (There are no changes to the XBlock code itself in this PR.)

@dianakhuang
Copy link

👍

bradenmacdonald added a commit that referenced this pull request Feb 23, 2016
Version bump to 2.0.2, added Changelog
@bradenmacdonald bradenmacdonald merged commit 7be3329 into openedx:master Feb 23, 2016
@bradenmacdonald bradenmacdonald deleted the tag-2.0.2 branch February 23, 2016 17:58
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