mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user