Skip to content
Snippets Groups Projects

Work Items - Tasks First Time Experience

Merged Deepika Guliani requested to merge 366687-work-items-tasks-first-time-experience into master
All threads resolved!
1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
@@ -45,10 +45,18 @@ describe('Work Item alert tip', () => {
expect(findAlert().exists()).toBe(false);
});
it('the alert variant should be tip', async () => {
it('the alert variant should be tip', () => {
expect(findAlert().props('variant')).toBe('tip');
});
it('should have the correct text for primary button and link', () => {
expect(findAlert().props('title')).toBe(WorkItemInformation.i18n.tasksInformationTitle);
expect(findAlert().props('primaryButtonText')).toBe(
WorkItemInformation.i18n.learnTasksButtonText,
);
expect(findAlert().props('primaryButtonLink')).toContain('ee/user/tasks.html');
});
it('should have the correct link to work item link', () => {
expect(findHelpLink().exists()).toBe(true);
expect(findHelpLink().attributes('href')).toBe('/help/ee/development/work_items.html');
Loading