We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf1456 commit 73498d1Copy full SHA for 73498d1
dashboard/test/ui/features/step_definitions/projects.rb
@@ -5,7 +5,8 @@
5
# inappropriate projects. This enviroment lets us test "view more" link
6
# visibility without updating the tests every time we toggle the flag.
7
And(/^I confirm correct visibility of view more links$/) do
8
- hidden_view_more_links = DCDO.get('image_moderation', {})['limited_project_gallery']
+ dcdo_flag = DCDO.get('image_moderation', {})['limited_project_gallery']
9
+ hidden_view_more_links = dcdo_flag.nil? ? true : dcdo_flag
10
if hidden_view_more_links
11
steps %Q{
12
And the project gallery contains 5 view more links
0 commit comments