Skip to content

Commit

Permalink
fix e2e tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienheureux committed Nov 14, 2024
1 parent df447a0 commit 53c98be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e_tests/iframe.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function expectIframeAttributes(iframeElement) {
expect(scrolling).toBe("no");
expect(allowfullscreen).toBe("true");
expect(style).toContain("width: 100%;");
expect(style).toContain("height: 100vh;");
expect(style).toContain("height: 720px;");
expect(style).toContain("max-width: 800px;");
expect(title).toBe("Longue vie aux objets");
}
Expand Down
2 changes: 1 addition & 1 deletion jinja2/tests/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1>Page d'affichage dynamique de l'iframe de l'application</h1>
<script src="http://localhost:8000/static/carte.js"
data-action_displayed="preter|emprunter|louer|mettreenlocation|reparer|donner|echanger|acheter|revendre"
data-max-width="800px"
data-height="100vh"
data-height="720px"
data-bounding_box="{&quot;southWest&quot;: {&quot;lat&quot;: 47.570401, &quot;lng&quot;: 1.597977}, &quot;northEast&quot;: {&quot;lat&quot;: 48.313697, &quot;lng&quot;: 3.059159}}">
</script>
{% else %}
Expand Down

0 comments on commit 53c98be

Please sign in to comment.