Skip to content

Commit

Permalink
fix hotwired#1241 - cache current page with frame updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tleish committed Jun 24, 2024
1 parent 4b974a3 commit 6d16334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/functional/frame_navigation_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test("promoted frame navigations are cached", async ({ page }) => {
assert.equal(await page.textContent("#tab-content"), "Two")
assert.equal(pathname((await page.getAttribute("#tab-frame", "src")) || ""), "/src/tests/fixtures/tabs/two.html")
assert.equal(await page.getAttribute("#tab-frame", "complete"), "", "caches two.html with [complete]")

await page.goBack()
await nextEventNamed(page, "turbo:load")

Expand Down

0 comments on commit 6d16334

Please sign in to comment.