1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-06-04 23:27:31 +02:00

Added intergration test for WAIT_CLASS_ALL

This commit is contained in:
Tim Voronov 2018-11-22 10:45:34 -05:00
parent 3198b642e3
commit ee7a4a8354
2 changed files with 10 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default class ClickableComponent extends React.PureComponent {
classNames.push("alert-success");
}
return e("div", {className: "card"}, [
return e("div", {className: "card clickable"}, [
e("div", { className: "card-header"}, [
e("button", {
id: btnId,

View File

@ -0,0 +1,9 @@
LET url = @dynamic + "?redirect=/events"
LET doc = DOCUMENT(url, true)
WAIT_ELEMENT(doc, "#page-events")
CLICK_ALL(doc, ".clickable button")
WAIT_CLASS_ALL(doc, ".clickable .card-body div", "alert-success", 10000)
RETURN ""