diff options
Diffstat (limited to 'spec/frontend/pages/projects/forks/new/components/project_namespace_spec.js')
-rw-r--r-- | spec/frontend/pages/projects/forks/new/components/project_namespace_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/pages/projects/forks/new/components/project_namespace_spec.js b/spec/frontend/pages/projects/forks/new/components/project_namespace_spec.js index b308d6305da..23fa4739645 100644 --- a/spec/frontend/pages/projects/forks/new/components/project_namespace_spec.js +++ b/spec/frontend/pages/projects/forks/new/components/project_namespace_spec.js @@ -113,7 +113,7 @@ describe('ProjectNamespace component', () => { }); it('displays fetched namespaces', () => { - const listItems = wrapper.findAll('li'); + const listItems = wrapper.findAll('[role="option"]'); expect(listItems).toHaveLength(2); expect(listItems.at(0).text()).toBe(data.project.forkTargets.nodes[0].fullPath); expect(listItems.at(1).text()).toBe(data.project.forkTargets.nodes[1].fullPath); |