Skip to content
Snippets Groups Projects
Unverified Commit 4e95bfb0 authored by Tiffany Rea's avatar Tiffany Rea Committed by GitLab
Browse files

Merge branch 'qa-update-value-stream-specs' into 'master'

Update value stream e2e spec

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/169491



Merged-by: default avatarTiffany Rea <trea@gitlab.com>
Approved-by: default avatarTiffany Rea <trea@gitlab.com>
Co-authored-by: default avatarDesiree Chevalier <dchevalier@gitlab.com>
parents 8abbfcff f1e0774f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -15,7 +15,6 @@ def self.included(base)
end
 
view "ee/app/assets/javascripts/analytics/cycle_analytics/components/value_stream_form_content.vue" do
element 'value-stream-form-modal'
element 'create-value-stream-name-input'
element 'vsa-preset-selector'
end
Loading
Loading
@@ -144,17 +143,19 @@ def select_value_stream_type(value = 'default')
#
# @return [void]
def create_value_stream
within_element('value-stream-form-modal') do
# footer buttons are generic UI components from gitlab/ui
find_button("New value stream").click
end
# footer buttons are generic UI components from gitlab/ui
find_button("New value stream").click
end
 
# Add another stage to custom vsa template
#
# @return [void]
def add_another_stage
within_element('value-stream-form-modal') do
# footer buttons are generic UI components from gitlab/ui
# Remove else once vsa_standalone_settings_page feature flag is removed
if has_button?("Add a stage")
find_button("Add a stage").click
else
find_button("Add another stage").click
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment