Skip to content

Commit 12e6d97

Browse files
committed
Add changes from PR
1 parent 2772bad commit 12e6d97

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1010
[#2003](https://github.com/plotly/dash/issues/2003) in which
1111
`dangerously_allow_html=True` + `mathjax=True` works in some cases, and in some cases not.
1212

13-
- [#2049](https://github.com/plotly/dash/pull/2043) Added `wait_for_class_to_equal` and `wait_for_contains_class` methods to `dash.testing`
13+
### Added
1414

15+
- [#2049](https://github.com/plotly/dash/pull/2043) Added `wait_for_class_to_equal` and `wait_for_contains_class` methods to `dash.testing`
1516

1617
## [2.4.1] - 2022-05-11
1718

dash/testing/wait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __call__(self, driver):
8080
logger.debug(
8181
"contains class {%s} => expected %s", classname, self.classname
8282
)
83-
return self.classname in str(classname)
83+
return self.classname in str(classname).split(" ")
8484
except WebDriverException:
8585
return False
8686

0 commit comments

Comments
 (0)