-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter empty keywords from keywords list on dataset view #2057
Changes from all commits
e54dfd4
ffac6ec
ae091c4
bfd65ab
dd3e2e7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -496,3 +496,11 @@ Feature: form to update dataset details | |
And I press the button "Next >" | ||
And I wait "1" seconds | ||
Then I should see "Parrot.k31.NetworkTest.txt" | ||
|
||
@ok @issue-2027 | ||
Scenario: Keywords label not visible if keywords are removed from dataset | ||
Given I am on "/adminDataset/update/id/200" | ||
And I remove all the keywords | ||
And I press the button "Save" | ||
When I am on "/dataset/100142" | ||
Then I should not see "Keywords:" | ||
Comment on lines
+500
to
+506
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. issue: I found that this acceptance test is also passing when I checked out the develop branch, which means the existing code can already make sure no |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: Does these changes necessary as there is already
if (!empty($mainSection->getKeywords()))
if the component class has been updated properly?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kencho51 in my opinion it is fine to double check things in both client and server so I don't mind to leave it but also you have a point that both checks are serving the same purpose
As per your next comment, let's see how to proceed with this PR