12c358f1b7
Add spec file using before(:context) to reduce test time. With testing almost identical things, unnecessary to make them completely atomic. Includes two helper methods. Since the raw_content method is the only function needed on that page, created the method in the spec instead of adding another page object. Setup new project/commit page object and update project/show to add go_to_commit method. The go_to_commit method is near duplicate of go_to_file method, but decided to split them off to reduce overall refactoring and simplify language. Also add selectors to commit box partial and update qa.rb to load new page object. |
||
---|---|---|
.. | ||
_ajax_signature.html.haml | ||
_change.html.haml | ||
_ci_menu.html.haml | ||
_commit_box.html.haml | ||
_limit_exceeded_message.html.haml | ||
_other_user_signature_badge.html.haml | ||
_pipelines_list.haml | ||
_same_user_different_email_signature_badge.html.haml | ||
_signature.html.haml | ||
_signature_badge.html.haml | ||
_signature_badge_user.html.haml | ||
_unknown_key_signature_badge.html.haml | ||
_unverified_key_signature_badge.html.haml | ||
_unverified_signature_badge.html.haml | ||
_verified_signature_badge.html.haml | ||
branches.html.haml | ||
pipelines.html.haml | ||
show.html.haml |