blob: 656aa380bbdc09b173170f05bf9e9357c99dd668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
module QA
module Page
module Component
module Breadcrumbs
def self.included(base)
base.view 'app/views/layouts/nav/_breadcrumbs.html.haml' do
element :breadcrumb_links_content
end
end
def has_breadcrumb?(text)
has_element?(:breadcrumb_links_content, text: text)
end
end
end
end
end
|