Commit 75f783c3 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'fix-feature-flags-pagination-ee-master' into 'master'

Fix feature flag pagination test

Closes #10049

See merge request gitlab-org/gitlab-ee!9746
parents 936f6659 3f4926f7
......@@ -198,7 +198,7 @@ describe('Feature Flags', () => {
it('should make an API request when page is clicked', done => {
spyOn(component, 'updateFeatureFlagOptions');
setTimeout(() => {
component.$el.querySelector('.gl-pagination li:nth-child(5) a').click();
component.$el.querySelector('.gl-pagination li:nth-child(5) .page-link').click();
expect(component.updateFeatureFlagOptions).toHaveBeenCalledWith({
scope: 'all',
......
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