Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Sep 6, 2024
1 parent 4e9dc0b commit e4d5981
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/web/pages/tasks/__tests__/row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ describe('Task Row tests', () => {
fireEvent.click(icons[0]);
expect(handleTaskStart).toHaveBeenCalledWith(task);
expect(icons[0]).toHaveAttribute('title', 'Start');
/*

fireEvent.click(icons[1]);
expect(handleTaskResume).not.toHaveBeenCalled();
expect(icons[1]).toHaveAttribute('title', 'Task is not stopped');
Expand All @@ -304,7 +304,7 @@ describe('Task Row tests', () => {

fireEvent.click(icons[5]);
expect(handleTaskDownload).toHaveBeenCalledWith(task);
expect(icons[5]).toHaveAttribute('title', 'Export Task'); */
expect(icons[5]).toHaveAttribute('title', 'Export Task');
});

test('should call click handlers for running task', () => {
Expand Down
4 changes: 2 additions & 2 deletions src/web/pages/tasks/icons/__tests__/TaskIconsWithSync.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ describe('TaskIconWithSync component tests', () => {
expect(element).toHaveAttribute('title', expectedTitle);
if (expectedFill) {
expect(element).toHaveStyleRule('fill', Theme.inputBorderGray, {
modifier: `svg path`,
modifier: 'svg path.gui_icon_class',
});
} else {
expect(element).not.toHaveStyleRule('fill', Theme.inputBorderGray, {
modifier: `svg path`,
modifier: 'svg path.gui_icon_class',
});
}
},
Expand Down

0 comments on commit e4d5981

Please sign in to comment.