Commit 56e25167 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'frozen_string_literal_qa' into 'master'

Add frozen_string_literal to qa/

See merge request gitlab-org/gitlab-ee!10850
parents 9235dcd5 1a60d926
# frozen_string_literal: true
module QA
module CE
module Strategy
......
# frozen_string_literal: true
module QA
##
# GitLab EE extensions
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
module QA
module EE
module Page
......
# frozen_string_literal: true
# Prepended onto ::QA::Runtime::Env
module QA
module EE
......
# frozen_string_literal: true
# EE-only singleton
module QA
module EE
......
# frozen_string_literal: true
require 'net/http'
require 'json'
......
# frozen_string_literal: true
module QA
module EE
module Strategy
......
# frozen_string_literal: true
require 'uri'
require 'forwardable'
......
# frozen_string_literal: true
module QA
module Page
module Component
......
# frozen_string_literal: true
module QA
module Page
module Component
......
# frozen_string_literal: true
module QA
module Page
module Dashboard
......
# frozen_string_literal: true
module QA
module Page
class Element
......
# frozen_string_literal: true
module QA
module Page
module File
......
# frozen_string_literal: true
module QA
module Page
module File
......
# frozen_string_literal: true
module QA
module Page
module File
......
# frozen_string_literal: true
module QA
module Page
module Group
......
# frozen_string_literal: true
module QA
module Page
module Issuable
......
# frozen_string_literal: true
module QA
module Page
module Label
......
# frozen_string_literal: true
module QA
module Page
module Layout
......
# frozen_string_literal: true
module QA
module Page
module Main
......
# frozen_string_literal: true
module QA
module Page
module Main
......
# frozen_string_literal: true
module QA
module Page
module Mattermost
......
# frozen_string_literal: true
module QA
module Page
module Mattermost
......
# frozen_string_literal: true
module QA
module Page
module MergeRequest
......
# frozen_string_literal: true
module QA
module Page
module Profile
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA::Page
module Project::Pipeline
class Index < QA::Page::Base
......
# frozen_string_literal: true
module QA::Page
module Project::Pipeline
class Show < QA::Page::Base
......
# frozen_string_literal: true
module QA
module Page
module Project
......
module QA # rubocop:disable Naming/FileName
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module QA
module Page
module Project
module Settings
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Project
......
# frozen_string_literal: true
module QA
module Page
module Settings
......
# frozen_string_literal: true
module QA
module Page
class Validator
......
# frozen_string_literal: true
require 'pathname'
module QA
......
# frozen_string_literal: true
module QA
module Runtime
class Address
......
# frozen_string_literal: true
require 'airborne'
module QA
......
# frozen_string_literal: true
module QA
module Runtime
module API
......
# frozen_string_literal: true
require 'rspec/core'
require 'rspec/expectations'
require 'capybara/rspec'
......
# frozen_string_literal: true
module QA
module Runtime
module Key
......
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module QA
module Runtime
module Key
......
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module QA
module Runtime
module Key
......
# frozen_string_literal: true
module QA
module Runtime
module Key
......
# frozen_string_literal: true
module QA
module Runtime
module Namespace
......
# frozen_string_literal: true
module QA
module Runtime
##
......
# frozen_string_literal: true
module QA
module Runtime
##
......
# frozen_string_literal: true
module QA
module Runtime
module User
......
# frozen_string_literal: true
module QA
module Scenario
module Actable
......
# frozen_string_literal: true
require 'optparse'
module QA
......
# frozen_string_literal: true
module QA
module Scenario
class Template
......
# frozen_string_literal: true
module QA
module Scenario
module Test
......
# frozen_string_literal: true
module QA
module Scenario
module Test
......
# frozen_string_literal: true
module QA
module Scenario
module Test
......
# frozen_string_literal: true
module QA
module Scenario
module Test
......
# frozen_string_literal: true
module QA
module Scenario
module Test
......
# frozen_string_literal: true
module QA
module Scenario
module Test
......
# frozen_string_literal: true
require 'securerandom'
require 'mkmf'
require 'pathname'
......
# frozen_string_literal: true
module QA
module Service
class Omnibus
......
# frozen_string_literal: true
require 'securerandom'
module QA
......
# frozen_string_literal: true
require 'open3'
module QA
......
# frozen_string_literal: true
require 'securerandom'
module QA
......
# frozen_string_literal: true
module QA
context 'Manage', :smoke do
describe 'basic user login' do
......
# frozen_string_literal: true
require 'rspec/core'
require 'rspec/expectations'
......
# frozen_string_literal: true
module QA
module Support
module Api
......
# frozen_string_literal: true
describe ::QA::EE::Runtime::Geo do
describe '.max_db_replication_time' do
subject { described_class.max_db_replication_time }
......
# frozen_string_literal: true
describe QA::Git::Location do
describe '.new' do
context 'when URI starts with ssh://' do
......
# frozen_string_literal: true
describe QA::Git::Repository do
include Helpers::StubENV
......
# frozen_string_literal: true
# Inspired by https://github.com/ljkbennett/stub_env/blob/master/lib/stub_env/helpers.rb
module Helpers
module StubENV
......
# frozen_string_literal: true
describe QA::Page::Base do
describe 'page helpers' do
it 'exposes helpful page helpers' do
......
# frozen_string_literal: true
describe QA::Page::Element do
describe '#selector' do
it 'transforms element name into QA-specific selector' do
......
# frozen_string_literal: true
describe QA::Page::Validator do
describe '#constants' do
subject do
......
# frozen_string_literal: true
describe QA::Page::View do
let(:element) do
double('element', name: :something, pattern: /some element/)
......
# frozen_string_literal: true
describe QA::Runtime::API::Client do
include Helpers::StubENV
......
# frozen_string_literal: true
describe QA::Runtime::API::Request do
let(:client) { QA::Runtime::API::Client.new('http://example.com') }
let(:request) { described_class.new(client, '/users') }
......
# frozen_string_literal: true
describe QA::Runtime::Key::ECDSA do
describe '#public_key' do
[256, 384, 521].each do |bits|
......
# frozen_string_literal: true
describe QA::Runtime::Key::ED25519 do
describe '#public_key' do
subject { described_class.new.public_key }
......
# frozen_string_literal: true
describe QA::Runtime::Key::RSA do
describe '#public_key' do
subject { described_class.new.public_key }
......
# frozen_string_literal: true
describe QA::Runtime::Release do
context 'when release version has extension strategy' do
let(:strategy) { spy('strategy') }
......
# frozen_string_literal: true
describe QA::Runtime::Scenario do
subject do
Module.new.extend(described_class)
......
# frozen_string_literal: true
describe QA::Scenario::Actable do
subject do
Class.new do
......
# frozen_string_literal: true
describe QA::Scenario::Bootable do
subject do
Class.new(QA::Scenario::Template)
......
# frozen_string_literal: true
describe QA::Scenario::Test::Instance::All do
it_behaves_like 'a QA scenario class'
end
# frozen_string_literal: true
describe QA::Scenario::Test::Instance::Smoke do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:smoke] }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Sanity::Framework do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:framework] }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Sanity::Selectors do
let(:validator) { spy('validator') }
......
# frozen_string_literal: true
require_relative '../qa'
require 'rspec/retry'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment