gitlab-org--gitlab-foss/app/views/devise/shared/_tabs_normal.html.haml
Dan Davison c5783cb59d Refactor common Page Objects to use data tags
Common usages within GitLab QA include Login Page,
navigation bars and layouts
2019-07-18 11:57:26 +00:00

6 lines
503 B
Text

%ul.nav-links.new-session-tabs.nav-tabs.nav{ role: 'tablist' }
%li.nav-item{ role: 'presentation' }
%a.nav-link.active{ href: '#login-pane', data: { toggle: 'tab', qa_selector: 'sign_in_tab' }, role: 'tab' } Sign in
- if allow_signup?
%li.nav-item{ role: 'presentation' }
%a.nav-link{ href: '#register-pane', data: { track_label: 'sign_in_register', track_property: '', track_event: 'click_button', track_value: '', toggle: 'tab', qa_selector: 'register_tab' }, role: 'tab' } Register