parent
b273c7502e
commit
0698ffbdb5
1 changed files with 2 additions and 2 deletions
|
@ -7,11 +7,11 @@ press-key: 'Enter'
|
||||||
wait-for: "#crate-search"
|
wait-for: "#crate-search"
|
||||||
// The width is returned by "getComputedStyle" which returns the exact number instead of the
|
// The width is returned by "getComputedStyle" which returns the exact number instead of the
|
||||||
// CSS rule which is "50%"...
|
// CSS rule which is "50%"...
|
||||||
assert-css: (".search-results div.desc", {"width": "295px"})
|
assert-css: (".search-results div.desc", {"width": "293px"})
|
||||||
size: (600, 100)
|
size: (600, 100)
|
||||||
// As counter-intuitive as it may seem, in this width, the width is "100%", which is why
|
// As counter-intuitive as it may seem, in this width, the width is "100%", which is why
|
||||||
// when computed it's larger.
|
// when computed it's larger.
|
||||||
assert-css: (".search-results div.desc", {"width": "570px"})
|
assert-css: (".search-results div.desc", {"width": "566px"})
|
||||||
|
|
||||||
// Check that the crate filter `<select>` is correctly handled when it goes to next line.
|
// Check that the crate filter `<select>` is correctly handled when it goes to next line.
|
||||||
// To do so we need to update the length of one of its `<option>`.
|
// To do so we need to update the length of one of its `<option>`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue