mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 16:38:23 +00:00
* Fix data export + Capybara * Continue? * A ton of system tests :D + test cleanup * More system tests * Add placeholder keys for tests? * Get rid of the double-query! * Speed up CI Chrome setup by avoiding snap installs * Pin CI Chrome version to reduce system test flakiness * Stabilize integrations settings system test interaction
15 lines
398 B
Ruby
15 lines
398 B
Ruby
require "application_system_test_case"
|
|
|
|
class ProfilesTest < ApplicationSystemTestCase
|
|
test "public profile renders visible bio" do
|
|
user = User.create!(
|
|
username: "prof_#{SecureRandom.hex(4)}",
|
|
profile_bio: "Profile bio from system test",
|
|
allow_public_stats_lookup: true
|
|
)
|
|
|
|
visit profile_path(user.username)
|
|
|
|
assert_text "Profile bio from system test"
|
|
end
|
|
end
|