Prepare automatic tests that cover GitLab QA

Checklist:

Login

Forks => #264 (closed)

  • Fork group project
  • Push changes to fork
  • Submit merge request to origin project
  • Accept merge request

Wiki => #263 (closed)

  • Access and modify an existing wiki
  • Create new wiki
  • Clone wiki repository

SSH => #265 (closed)

  • Add SSH key
  • Remove SSH key
  • git clone, git push over SSH

Git

Project

  • Create project
  • Create project via repository import
  • Transfer project to new owner
  • Rename project's repository path
  • Add project member
  • Remove project member
  • Remove project
  • Create branch via UI
  • Create tag via UI

Web editor

Group

  • Create group
  • Create project in group's namespace
  • Add group member
  • Remove group member
  • Remove group

Markdown

  • Visit / clone [relative links repository] and see if the links are linking to the correct documents in the repository
  • Check if images are rendered in the repository's README
  • Click on a directory link and see if it correctly takes to the tree view
  • Click on a file link and see if it correctly takes to the blob view
  • Check if the links in the README when viewed as a blob are correct
  • Select the markdown branch and check if all links point to the files within the markdown branch

Syntax highlighting

  • Visit/clone [language highlight repository]
  • Check for obvious errors in highlighting

Upgrader

  • Upgrade from the previous release
  • Run the upgrader script in this release (it should not break)

Rake tasks

  • Check if rake gitlab:check is updated and works
  • Check if rake gitlab:env:info is updated and works

Container registry

  • Check if push works
  • Check if pull works

Git Annex

  • Check if push works
  • Check if pull works

Git LFS

  • Check if push works
  • Check if pull works

Omnibus

  • Configure relative URLs
  • Configure custom ports for external_url and registry_external_url

GitLab Runner

  • Install GitLab Runner
  • Add GitLab Runner to the project
  • Add CI job that fails
  • Add CI job that succeeds
  • Remove Runner from the project

Upgrades

  • Test upgrade when using MySQL
  • Test upgrade when using PostgreSQL

Kerberos

  • User login
  • git push/pull via HTTPS

Other things

  • CORS
Edited by Mek Stittri