Loading
Prepare tooltip feature specs for the new GlTooltip
What does this MR do and why?
Prepares four feature specs for the Popover API based GlTooltip from gitlab-org/gitlab-services/design.gitlab.com!6294 (merged), so these spec-only changes don't have to ride along in the GitLab UI integration branch (!255018).
- Find tooltips by
.gl-tooltipinstead of Bootstrap's.tooltip(cycle analytics filters, datetime tooltips, mini pipeline graph). The current bootstrap-vue tooltips render both classes (tooltip b-tooltip gl-tooltip), so nothing changes today. The newGlTooltiponly renders.gl-tooltip. - In the board filters spec, scope the assignee
click_onto the filter dropdown, like the label click further down in the same spec already is. An unscopedclick_oncan match other elements with the same text, such as a tooltip.
No production code changes.
References
- GitLab UI MR: gitlab-org/gitlab-services/design.gitlab.com!6294 (merged)
- Integration MR: !255018
How to set up and validate locally
bin/rspec ee/spec/features/groups/analytics/cycle_analytics/filters_and_data_spec.rb \
spec/features/boards/board_filters_spec.rb \
spec/features/dashboard/datetime_on_tooltips_spec.rb \
spec/features/merge_request/user_sees_mini_pipeline_graph_spec.rb