Commit ea79aab7 authored by Dennis Tang's avatar Dennis Tang

fix failing CI jobs

parent 09308013
...@@ -4,7 +4,7 @@ import Project from './project'; ...@@ -4,7 +4,7 @@ import Project from './project';
import ShortcutsNavigation from '../../shortcuts_navigation'; import ShortcutsNavigation from '../../shortcuts_navigation';
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
const page = document.body.dataset.page; const { page } = document.body.dataset;
const newClusterViews = [ const newClusterViews = [
'projects:clusters:new', 'projects:clusters:new',
'projects:clusters:create_gcp', 'projects:clusters:create_gcp',
......
...@@ -18,7 +18,7 @@ feature 'Gcp Cluster', :js do ...@@ -18,7 +18,7 @@ feature 'Gcp Cluster', :js do
visit project_clusters_path(project) visit project_clusters_path(project)
click_link 'Add Kubernetes cluster' click_link 'Add Kubernetes cluster'
click_link 'Add an existing Kubernetes cluster' click_link 'Add existing cluster'
end end
it 'user sees the "Environment scope" field' do it 'user sees the "Environment scope" field' do
......
...@@ -162,7 +162,7 @@ feature 'Gcp Cluster', :js do ...@@ -162,7 +162,7 @@ feature 'Gcp Cluster', :js do
visit project_clusters_path(project) visit project_clusters_path(project)
click_link 'Add Kubernetes cluster' click_link 'Add Kubernetes cluster'
click_link 'Add an existing Kubernetes cluster' click_link 'Add existing cluster'
end end
it 'user does not see the "Environment scope" field' do it 'user does not see the "Environment scope" field' 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