Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The test passes consistently locally, but fails consistently in CI: ``` 1) [chrome] › form_submission_tests.ts:909:1 › test following a link with [data-turbo-method] and [data-turbo=true] set when html[data-turbo=false] AssertionError: does not navigate the full page: expected 'Hello' to equal 'Form' 918 | await link.click() 919 | > 920 | assert.equal(await page.textContent("h1"), "Form", "does not navigate the full page") | ^ 921 | assert.equal(await page.textContent("#hello h2"), "Hello from a frame", "drives the turbo-frame") 922 | }) 923 | at /home/runner/work/turbo/turbo/src/tests/functional/form_submission_tests.ts:920:10 2) [chrome] › form_submission_tests.ts:924:1 › test following a link with [data-turbo-method] and [data-turbo=true] set when Turbo.session.drive = false AssertionError: does not navigate the full page: expected 'Hello' to equal 'Form' 932 | await link.click() 933 | > 934 | assert.equal(await page.textContent("h1"), "Form", "does not navigate the full page") | ^ 935 | assert.equal(await page.textContent("#hello h2"), "Hello from a frame", "drives the turbo-frame") 936 | }) 937 | at /home/runner/work/turbo/turbo/src/tests/functional/form_submission_tests.ts:934:10 ``` As a precaution, escape the URL path to embedded into the `[href]` attribute. Additionally, execute CI with the GitHub Actions reporter.
- Loading branch information