Skip to content

Commit

Permalink
fix selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuynh333 committed Dec 19, 2024
1 parent d46abf4 commit 480bac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/system/groups/bots_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def setup
end

# bot's current PATs dialog
within("#dialog tr[id='#{active_personal_tokens.first.id}']") do
within("#dialog table tbody tr[id='#{active_personal_tokens.first.id}']") do
# revoke a PAT
click_link I18n.t('personal_access_tokens.table.revoke')
end
Expand Down
2 changes: 1 addition & 1 deletion test/system/projects/bots_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def setup
end

# bot's current PATs dialog
within("#dialog tr[id='#{active_personal_tokens.first.id}']") do
within("#dialog table tbody tr[id='#{active_personal_tokens.first.id}']") do
# revoke a PAT
click_link I18n.t('personal_access_tokens.table.revoke')
end
Expand Down

0 comments on commit 480bac1

Please sign in to comment.