Skip to content

[QA] Convert end-to-end test framework to a RubyGem

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

We should work on converting our existing baser QA framework into a RubyGem that can be used externally.

For instance, we will want to start working on end-to-end tests for other portals such as https://customers.gitlab.com/.

Since these different portals are outside of the main GitLab source code, It wouldn't make sense to:

  • Create a brand-new lookalike framework for these portals
  • Create page objects for these portals inside of the gitlab source
  • Copy/Paste the existing framework and refactor

The best solution would be to extract all baser framework methods into a Gem so in a new project, we can include the Gem:

source 'https://rubygems.org'

gem 'chemlab'

Then use the existing API to build out the new page objects in the same project as the portal:

class MyPage < GitLab::QA::Page::Base
  ...
end
Edited by 🤖 GitLab Bot 🤖