Skip to content

Commit

Permalink
Merge pull request #7566 from fjordllc/bug/fix-flaky-tags-test
Browse files Browse the repository at this point in the history
Flakyなテストの改善
  • Loading branch information
komagata authored Mar 22, 2024
2 parents 5fd8588 + 48c239f commit afca066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/system/user/tags_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class User::TagsTest < ApplicationSystemTestCase
%i[cat shinjuku_rb neovim_v_zero_five_zero _net_framework may_j_].each do |key|
name = acts_as_taggable_on_tags(key).name
within '.random-tags' do
click_on name, exact_text: true
find('a.random-tags-item__link', text: /^#{name}$/).click
end
assert_text "タグ「#{name}」のユーザー"
assert_text user.name
Expand Down

0 comments on commit afca066

Please sign in to comment.