Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 721b30e

Browse files
Fix tests
1 parent 4866c99 commit 721b30e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staff_features/agents/step_definitions/agent_view.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
search_result_rows = all('#tabledSearchResults tbody tr')
5959

6060
expect(search_result_rows.length).to eq 2
61-
expect(search_result_rows[0]).to have_text @agent_a_uuid
62-
expect(search_result_rows[1]).to have_text @agent_b_uuid
61+
expect(search_result_rows[0]).to have_text "A #{@agent_a_uuid} #{@shared_agent_uuid}, Rest of name A"
62+
expect(search_result_rows[1]).to have_text "B #{@agent_b_uuid} #{@shared_agent_uuid}, Rest of name B"
6363
end
6464

6565
Then 'the two Agents are displayed sorted by ascending level' do

0 commit comments

Comments
 (0)