Skip to content

Commit

Permalink
Remove duplicated Contribution Graph spec
Browse files Browse the repository at this point in the history
We have the spec duplicated for both beta and non-beta version of the
code.

The non-beta one is causing flickering tests in our CI. Since nobody
sees the non-beta version of the UI anymore and the feature flag is
going to be removed in a few days, we decide to remove the non-beta spec.
  • Loading branch information
saraycp committed Nov 29, 2021
1 parent dea728c commit d7ffda9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 62 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# TODO: move this test out of the beta directory as soon as the
# user_profile_redesign feature flag is removed.

require 'browser_helper'

RSpec.shared_examples 'a contribution graph' do
Expand Down Expand Up @@ -61,6 +64,8 @@
click_link('Contributions')
expect(page).to have_text('3 contributions')
end

# TODO: test single day contributions by clicking on a percentil and check the resulting text.
end
end
end
62 changes: 0 additions & 62 deletions src/api/spec/features/webui/users/user_contributions_spec.rb

This file was deleted.

0 comments on commit d7ffda9

Please sign in to comment.