Skip to content

Commit

Permalink
Agent event create
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Feb 6, 2025
1 parent 8aa3b2f commit 099c485
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions staff_features/agents/step_definitions/agent_event_create.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# frozen_string_literal: true

Then 'the New Event page is displayed with the Agent linked' do
expect(find('h2').text).to eq 'New Event Event'

expect(find('#event_linked_records__0__ref__combobox')).to have_text @uuid
end

Given 'the New Event page is open for an Agent' do
within '#add-event-dropdown' do
click_on 'Add Event'

within '#form_add_event' do
click_on 'Add Event'
end
end
end

0 comments on commit 099c485

Please sign in to comment.