mdbook/tests/gui
Eric Huss 15c93b56ed Add support for fragment redirects
This adds the ability to redirect URLs with `#` fragments. This is
useful when section headers get renamed or moved to other pages.

This works both for deleted pages and existing pages.

The implementation requires the use of JavaScript in order to manipulate
the location. (Ideally this would be handled on the server side.)

This also makes it so that deleted page redirects preserve the fragment
ID. Previously if you had a deleted page redirect, and the user went to
something like `page.html#foo`, it would redirect to `bar.html` without
the fragment. I think preserving the fragment is probably a better
behavior. If the new page doesn't have the fragment ID, then no harm is
really done. This is technically an open redirect, but I don't think
that there is too much danger with preserving a fragment ID?
2025-07-08 15:37:46 -07:00
..
help.goml Add help gui test 2025-05-15 05:25:48 -07:00
move-between-pages.goml Fix loading of mode-rust.js 2025-05-23 07:19:27 -07:00
redirect.goml Add support for fragment redirects 2025-07-08 15:37:46 -07:00
runner.rs Use serde_json instead of json to get browser-ui-test version 2025-03-23 10:06:12 +01:00
search.goml Fix JS error when hasFocus method is overwritten on search index load 2025-06-25 18:24:33 +02:00
sidebar-active.goml Break off query string when comparing url for sidebar 2025-04-21 12:03:17 -07:00
sidebar-nojs.goml Remove fail-on-request-error in GUI tests as they are not needed anymore 2025-03-22 17:56:22 +01:00
sidebar.goml Remove fail-on-request-error in GUI tests as they are not needed anymore 2025-03-22 17:56:22 +01:00