Skip to content

Commit

Permalink
fix remaining CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cbouy committed Jul 27, 2023
1 parent 78a7046 commit 370cc0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- ipykernel==5.4.3
- ipywidgets==7.6.3
- notebook<7.0.0
- mistune<3.0.0
- jedi==0.17.2
- jinja2==3.0.3
- nbsphinx==0.8.8
Expand Down
4 changes: 2 additions & 2 deletions tests/test_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def test_hover_color(driver: FirefoxDriver, grid):
color = driver.execute_script(
"""
return getComputedStyle(
document.querySelector('#mols2grid .m2g-cell'), ":after"
document.querySelector('#mols2grid .m2g-cell:hover'), ":after"
).getPropertyValue('background-color');
"""
)
Expand Down Expand Up @@ -800,7 +800,7 @@ def test_callbacks_info(driver: FirefoxDriver, grid):
def test_callbacks_3D(driver: FirefoxDriver, grid):
doc = get_doc(grid, {"callback": mols2grid.callbacks.show_3d()})
driver.get(doc)
driver.trigger_callback()
driver.trigger_callback(pause=2.0)
modal = driver.find_by_css_selector("#m2g-modal")
assert (
modal.find_element(By.CSS_SELECTOR, ".m2g-modal-header h2").get_attribute(
Expand Down

0 comments on commit 370cc0b

Please sign in to comment.