Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/incidents/incident_timeline_events_spec.rb')
-rw-r--r--spec/features/incidents/incident_timeline_events_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/incidents/incident_timeline_events_spec.rb b/spec/features/incidents/incident_timeline_events_spec.rb
index bd3658ab60f..4ceae0f8780 100644
--- a/spec/features/incidents/incident_timeline_events_spec.rb
+++ b/spec/features/incidents/incident_timeline_events_spec.rb
@@ -86,8 +86,8 @@ RSpec.describe 'Incident timeline events', :js, feature_category: :incident_mana
def trigger_dropdown_action(text)
click_button _('More actions')
- page.within '[data-testid="disclosure-content"]' do
- page.find('[data-testid="disclosure-dropdown-item"]', text: text).click
+ within_testid 'disclosure-content' do
+ find_by_testid('disclosure-dropdown-item', text: text).click
end
end
end