Commit b14fd584 authored by James Lopez's avatar James Lopez

Merge branch '212566-foss-design-management-enable-specs' into 'master'

Reenable skipped design management specs

See merge request gitlab-org/gitlab!31955
parents 058ae4b1 e7b6eaef
...@@ -17,14 +17,6 @@ describe Mutations::DesignManagement::Delete do ...@@ -17,14 +17,6 @@ describe Mutations::DesignManagement::Delete do
let(:mutation) { described_class.new(object: nil, context: { current_user: user }, field: nil) } let(:mutation) { described_class.new(object: nil, context: { current_user: user }, field: nil) }
before do before do
# TODO these tests are being temporarily skipped unless run in EE,
# as we are in the process of moving Design Management to FOSS in 13.0
# in steps. In the current step the services have not yet been moved,
# which are used by this mutation.
#
# See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283.
skip 'See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283' unless Gitlab.ee?
stub_const('Errors', Gitlab::Graphql::Errors, transfer_nested_constants: true) stub_const('Errors', Gitlab::Graphql::Errors, transfer_nested_constants: true)
end end
......
...@@ -37,14 +37,6 @@ describe Mutations::DesignManagement::Upload do ...@@ -37,14 +37,6 @@ describe Mutations::DesignManagement::Upload do
context "when the feature is available" do context "when the feature is available" do
before do before do
# TODO these tests are being temporarily skipped unless run in EE,
# as we are in the process of moving Design Management to FOSS in 13.0
# in steps. In the current step the services have not yet been moved,
# which are used by this mutation.
#
# See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283.
skip 'See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283' unless Gitlab.ee?
enable_design_management enable_design_management
end end
......
...@@ -29,14 +29,6 @@ describe "deleting designs" do ...@@ -29,14 +29,6 @@ describe "deleting designs" do
end end
before do before do
# TODO these tests are being temporarily skipped unless run in EE,
# as we are in the process of moving Design Management to FOSS in 13.0
# in steps. In the current step the services have not yet been moved,
# which are used by this mutation.
#
# See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283.
skip 'See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283' unless Gitlab.ee?
enable_design_management enable_design_management
project.add_developer(developer) project.add_developer(developer)
......
...@@ -24,14 +24,6 @@ describe "uploading designs" do ...@@ -24,14 +24,6 @@ describe "uploading designs" do
let(:mutation_response) { graphql_mutation_response(:design_management_upload) } let(:mutation_response) { graphql_mutation_response(:design_management_upload) }
before do before do
# TODO these tests are being temporarily skipped unless run in EE,
# as we are in the process of moving Design Management to FOSS in 13.0
# in steps. In the current step the services have not yet been moved,
# which are used by this mutation.
#
# See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283.
skip 'See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283' unless Gitlab.ee?
enable_design_management enable_design_management
project.add_developer(current_user) project.add_developer(current_user)
......
...@@ -6,16 +6,6 @@ describe 'Getting designs related to an issue' do ...@@ -6,16 +6,6 @@ describe 'Getting designs related to an issue' do
include GraphqlHelpers include GraphqlHelpers
include DesignManagementTestHelpers include DesignManagementTestHelpers
before_all do
# TODO these tests are being temporarily skipped unless run in EE,
# as we are in the process of moving Design Management to FOSS in 13.0
# in steps. In the current step the services have not yet been moved,
# which are used by the `:with_smaller_image_versions` factory trait.
#
# See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283.
skip 'See https://gitlab.com/gitlab-org/gitlab/-/issues/212566#note_327724283' unless Gitlab.ee?
end
let_it_be(:design) { create(:design, :with_smaller_image_versions, versions_count: 1) } let_it_be(:design) { create(:design, :with_smaller_image_versions, versions_count: 1) }
let_it_be(:current_user) { design.project.owner } let_it_be(:current_user) { design.project.owner }
let(:design_query) do let(:design_query) 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