-
Notifications
You must be signed in to change notification settings - Fork 14
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
BC-8578 - Remove Visibility Alert From Board #3516
Conversation
@@ -328,25 +326,9 @@ onUnmounted(() => { | |||
resetNotifierModule(); | |||
}); | |||
|
|||
const setAlert = useDebounceFn(() => { |
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.
Remove import of useDebounceFn above
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.
- this one still needs to be removed:
BC-8578 - Remove Visibility Alert From Board #3516 (comment)
} from "@@/tests/test-utils/setup"; | ||
import BoardDraftChip from "./BoardDraftChip.vue"; | ||
|
||
describe("@feature-board/BoardDraftChip", () => { |
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.
what do you think about two additional tests for text in VChip
and VTooltip
?
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.
Imo this falls under the category "testing the framework" as there is no logic or changing texts in this component.
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.
Hm, maybe it would make sense to check if the correct text is rendered inside the component. Something like:
it("should render the text message", () => {
const wrapper = setup();
expect(wrapper.text()).toContain("common.words.draft");
});
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.
Can do. Not sure how easy it is to test for the tooltip text though
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.
Right. I confused the two components, sorry.
Quality Gate passedIssues Measures |
Short Description
Removes alert from board about its visibility and adds a tooltip to the "draft-chip".
Links to Ticket and related Pull-Requests
BC-8578
Changes
Data-security
Deployment
New Repos, NPM packages or vendor scripts
Screenshots of UI changes
Checklist before merging