hackatime/test/system/profiles_test.rb
Mahad Kalam 44777ad644
Data export fix + async exports + more tests (#989)
* 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
2026-02-21 11:28:21 +00:00

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