hurl/integration/tests_failed/assert_xpath.html
Rached Mejri 48447ce744
Implement isEmpty predicate
Signed-off-by: Rached Mejri <rached.mejri@orange.com>
2023-03-13 10:11:47 +01:00

7 lines
769 B
HTML

<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-xpath</span></span>
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
<span class="line section-header">[Asserts]</span>
<span class="line"><span class="query-type">xpath</span> <span class="string">"strong(//head/title)"</span> <span class="predicate-type">equals</span> <span class="string">"Welcome to Quiz!"</span></span>
<span class="line"><span class="query-type">xpath</span> <span class="string">"strong(//head/title)"</span> <span class="predicate-type">isEmpty</span></span>
</span></span></code></pre>