diff options
author | Zeff Morgan <zeff.morgan@gmail.com> | 2018-12-04 01:03:58 -0500 |
---|---|---|
committer | Zeff Morgan <zeff.morgan@gmail.com> | 2018-12-11 14:06:22 -0500 |
commit | 12c358f1b781fc6401eceee80237232bd0bb005a (patch) | |
tree | 57a40a9aaa873f06e71a2822fd8a1802287d3e29 /qa/qa.rb | |
parent | bdcd37610a8a5eec13b0bb3b2d86f9032a7c4083 (diff) | |
download | gitlab-ce-12c358f1b781fc6401eceee80237232bd0bb005a.tar.gz |
Add tests for plain diff/email patch options
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.
Diffstat (limited to 'qa/qa.rb')
-rw-r--r-- | qa/qa.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -158,6 +158,10 @@ module QA autoload :Activity, 'qa/page/project/activity' autoload :Menu, 'qa/page/project/menu' + module Commit + autoload :Show, 'qa/page/project/commit/show' + end + module Import autoload :Github, 'qa/page/project/import/github' end |