Commit 3f4926f7 authored by Luke Bennett's avatar Luke Bennett

Fix feature flag pagination test

Recent unported updates to CE
pagination components caused
the EE test to fail
parent fb4cf887
......@@ -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