Skip to content

Commit 6dc09f5

Browse files
committed
test: fix assert and setup try out
1 parent 345d876 commit 6dc09f5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/e2e-cypress/tests/bugs/6475.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe("#6475: 'Examples' keyword definitions can not be rendered as xml", ()
2626
.within(() => {
2727
cy
2828
.get("textarea")
29-
.should("include.text", xmlIndicator)
29+
.contains(xmlIndicator)
3030
})
3131
})
3232
})
@@ -53,11 +53,13 @@ describe("#6475: 'Example' keyword definitions can not be rendered as xml", () =
5353
.visit("?url=/documents/bugs/6475.yaml")
5454
.get("#operations-default-xmlTest_example")
5555
.click()
56+
.get(".btn.try-out__btn")
57+
.click()
5658
.get(".opblock-section-request-body")
5759
.within(() => {
5860
cy
5961
.get("textarea")
60-
.should("include.text", xmlIndicator)
62+
.contains(xmlIndicator)
6163
})
6264
})
6365
})

0 commit comments

Comments
 (0)