Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 48 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/leptos/tests/playwright.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub fn playwright() {

let config_content = fs::read_to_string(repository_playwright_config_path.clone())
.expect("Reading Playwright config file failed.")
.replace("retries: 3,", "retries: 0,\n timeout: 10 * 1000,")
.replace("retries: 3,", "retries: 0,\n timeout: 10 * 1000,\nexpect: {toMatchSnapshot: {maxDiffPixelRatio: 0.01}},")
.replace(
"command: 'pnpm run dev',",
&format!(
Expand Down
10 changes: 5 additions & 5 deletions packages/leptos/tests/visual/src/spec/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,20 +165,20 @@ pub fn Inline() -> impl IntoView {
<p>The floating element should choose the most appropriate rect.</p>
<div class="container">
<p class="prose" style:padding="10px">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.{' '}
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. "
<strong
node_ref=reference_ref
style:color="royalblue"
on:mouseenter=handle_mouse_enter
on:mouseleave=handle_mouse_leave
>
{text}
</strong>. Ut eu magna eu augue efficitur bibendum id commodo tellus. Nullam
</strong>". Ut eu magna eu augue efficitur bibendum id commodo tellus. Nullam
gravida, mi nec sodales tincidunt, lorem orci aliquam ex, id commodo
erat libero ut risus. Nam molestie non lectus sit amet tempus. Vivamus
accumsan{' '}
<strong style:color={"red"}>nunc quis faucibus egestas</strong>.
Duis cursus nisi massa, non dictum turpis interdum at.
accumsan "
<strong style:color={"red"}>"nunc quis faucibus egestas"</strong>". "
"Duis cursus nisi massa, non dictum turpis interdum at."
</p>

<Show when=move || open.get()>
Expand Down
4 changes: 2 additions & 2 deletions packages/leptos/tests/visual/src/spec/relative.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ pub fn Relative() -> impl IntoView {
view! {
<h1>Relative</h1>
<p>
The floating element should be positioned correctly on the bottom when a
certain parent node has <code>position: relative</code> applied.
"The floating element should be positioned correctly on the bottom when a
certain parent node has "<code>"position: relative"</code>" applied."
</p>
<div
class="container"
Expand Down
Loading