Commit e3285e95 authored by ddavison's avatar ddavison

Fix previous failing kubernetes integration spec

Use sign_in_as_admin
Use let(bang) so the cluster gets fabricated first
Dequarantine spec
Add skip_live_env tag
parent c3a9575c
# frozen_string_literal: true
module QA
context 'Configure', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/209085', type: :investigating } do
describe 'Kubernetes Cluster Integration', :orchestrated, :kubernetes, :requires_admin do
context 'Configure' do
describe 'Kubernetes Cluster Integration', :orchestrated, :kubernetes, :requires_admin, :skip_live_env do
context 'Project Clusters' do
let(:cluster) { Service::KubernetesCluster.new(provider_class: Service::ClusterProvider::K3s).create! }
let!(:cluster) { Service::KubernetesCluster.new(provider_class: Service::ClusterProvider::K3s).create! }
let(:project) do
Resource::Project.fabricate_via_api! do |project|
project.name = 'project-with-k8s'
......@@ -13,7 +13,7 @@ module QA
end
before do
Flow::Login.sign_in
Flow::Login.sign_in_as_admin
end
after do
......
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