Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
There is NO WARRANTY. -->
{% for b in bundles %}
<div class="bundle">
-<a href=""><code class="b_id">{{ b.id }}</code></a>
+<a class="b_link" href=""><code class="b_id">{{ b.id }}</code></a>
<span class="b_title">{{ b.title }}</span>
</div>
{% endfor %}
let check = |w: &mut WindowGuard<'_>| Ok::<_,Explode>({
w.synch()?;
- let bundle_id = w.find_element(By::ClassName("b_id"))?;
+ let bundle_link = w.find_element(By::ClassName("b_link"))?;
+ let bundle_id = bundle_link.find_element(By::ClassName("b_id"))?;
let html = bundle_id.inner_html()?;
assert_eq!(&html, "00000.zip");
});