Feedback page (#1160)

* Add feedback page

* Only show latest release on changelog

* Constrain changelog height

* Ignore sanitization warning for Github content

* Add cassette for Github release notes

* Lint fix
This commit is contained in:
Zach Gollwitzer
2024-09-09 16:54:56 -04:00
committed by GitHub
parent c30c1b9698
commit eebc07d75e
10 changed files with 310 additions and 37 deletions

View File

@@ -18,14 +18,16 @@ class SettingsTest < ApplicationSystemTestCase
end
test "can access settings from sidebar" do
open_settings_from_sidebar
assert_selector "h1", text: "Account"
assert_current_path settings_profile_path
VCR.use_cassette("git_repository_provider/fetch_latest_release_notes") do
open_settings_from_sidebar
assert_selector "h1", text: "Account"
assert_current_path settings_profile_path
@settings_links.each do |name, path|
click_link name
assert_selector "h1", text: name
assert_current_path path
@settings_links.each do |name, path|
click_link name
assert_selector "h1", text: name
assert_current_path path
end
end
end