Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1202ad8
fix(cc-widgets): add station-login tests
PrayagGP Jul 1, 2025
0d043fb
fix(cc-widgets): rename multi-session to mulit-login
PrayagGP Jul 2, 2025
1165d03
fix(cc-widgets): add delays while handling socket reconnection
PrayagGP Jul 2, 2025
6c2f811
fix(cc-widgets): add timeouts for various expect statements
PrayagGP Jul 2, 2025
e62cf04
fix(cc-widgets): add a second attempt of intialising widgets
PrayagGP Jul 2, 2025
2783685
fix(cc-widgets): add descriptions for helper functions
PrayagGP Jul 2, 2025
0f92557
fix(cc-widgets): update test.afterAll for Desktop mode
PrayagGP Jul 2, 2025
fc40e67
fix(cc-widgets): remove unnecessary code
PrayagGP Jul 4, 2025
77ce464
fix(cc-widgets): shift functions from test file to util file
PrayagGP Jul 7, 2025
fe92788
fix(cc-widgets): sync utility files with upstream - restore complete …
PrayagGP Jul 14, 2025
4baacb6
fix(cc-widgets): add tests and utils for basic task controls
PrayagGP Jul 14, 2025
651b817
fix(cc-widgets): add tasklist-test.spec.ts
riteshfyi Jul 15, 2025
58faa94
fix(cc-widgets): refactor
riteshfyi Jul 15, 2025
ff53ab0
fix(cc-widgets): add utils and tests to verify hold and recording icons
PrayagGP Jul 15, 2025
f98841d
fix(cc-widgets): update after all
riteshfyi Jul 16, 2025
703e18b
Merge branch 'friend/ccwidgets' into tasklist
riteshfyi Jul 16, 2025
1f55c1d
fix(cc-widgets): fix variable types
riteshfyi Jul 16, 2025
4dedcf1
Merge branch 'ccwidgets' of https://github.com/webex/widgets into tas…
adhmenon Jul 29, 2025
9c100a1
Merge branch 'ccwidgets' of https://github.com/webex/widgets into tas…
adhmenon Jul 30, 2025
2cfe2a0
fix(widgets): resolved-playwright-merge-conflicts
adhmenon Jul 30, 2025
52f3e2c
Merge branch 'ccwidgets' into tasklist
rsarika Aug 13, 2025
9d21f12
Merge branch 'ccwidgets' into tasklist
rsarika Aug 13, 2025
3c9f12a
Merge branch 'ccwidgets' into tasklist
rsarika Aug 13, 2025
3c46e1c
fix(task-list-uts): update-snapshot
akulakum Aug 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const CallControlCADComponent: React.FC<CallControlComponentProps> = (props) =>
<div className="customer-info">
{renderCustomerName()}
<div className="call-details">
<Text className="call-timer" type="body-secondary" tagName={'small'}>
<Text className="call-timer" type="body-secondary" tagName={'small'} data-testid="cc-cad:call-timer">
{currentMediaType.labelName} - <TaskTimer startTimeStamp={startTimestamp} />
</Text>
<div className="call-status">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const Task: React.FC<TaskProps> = ({
type={selected ? 'body-large-bold' : 'body-large-medium'}
className={taskData.titleClassName}
id={taskData.isNonVoiceMedia ? taskData.tooltipTriggerId : undefined}
data-testid="task:title"
>
{title}
</Text>
Expand Down Expand Up @@ -145,7 +146,7 @@ const Task: React.FC<TaskProps> = ({
data-testid={`${interactionId}-handle-time`}
>
Handle Time: {' '}
<TaskTimer startTimeStamp={startTimeStamp} />
<TaskTimer startTimeStamp={startTimeStamp} data-testid="task-list:timer" />
</Text>
)}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ exports[`CallControlCADComponent Snapshots should handle edge cases and control
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -213,6 +214,7 @@ exports[`CallControlCADComponent Snapshots should handle edge cases and control
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -362,6 +364,7 @@ exports[`CallControlCADComponent Snapshots should handle edge cases and control
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -639,6 +642,7 @@ exports[`CallControlCADComponent Snapshots should render basic call states and m
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Chat
-
Expand Down Expand Up @@ -916,6 +920,7 @@ exports[`CallControlCADComponent Snapshots should render basic call states and m
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -1203,6 +1208,7 @@ exports[`CallControlCADComponent Snapshots should render basic call states and m
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -1480,6 +1486,7 @@ exports[`CallControlCADComponent Snapshots should render basic call states and m
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Social
-
Expand Down Expand Up @@ -1758,6 +1765,7 @@ exports[`CallControlCADComponent Snapshots should render consultation and wrapup
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -1943,6 +1951,7 @@ exports[`CallControlCADComponent Snapshots should render consultation and wrapup
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -2048,6 +2057,7 @@ exports[`CallControlCADComponent Snapshots should render consultation and wrapup
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down Expand Up @@ -2379,6 +2389,7 @@ exports[`CallControlCADComponent Snapshots should render consultation and wrapup
>
<mdc-text
class="md-text-wrapper call-timer"
data-testid="cc-cad:call-timer"
>
Voice
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ exports[`IncomingTaskComponent Actions should call acceptTask when accept button
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to add this as it was required for playwright tests.

tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -142,6 +143,7 @@ exports[`IncomingTaskComponent Actions should call acceptTask when accept button
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -253,6 +255,7 @@ exports[`IncomingTaskComponent Actions should call declineTask when decline butt
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -364,6 +367,7 @@ exports[`IncomingTaskComponent Actions should call declineTask when decline butt
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -480,6 +484,7 @@ exports[`IncomingTaskComponent Rendering with Incoming Tasks should render digit
<mdc-text
aria-describedby="tooltip-incoming-chat-task"
class="md-text-wrapper incoming-digital-task-title"
data-testid="task:title"
id="tooltip-trigger-incoming-chat-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -594,6 +599,7 @@ exports[`IncomingTaskComponent Rendering with Incoming Tasks should render multi
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -705,6 +711,7 @@ exports[`IncomingTaskComponent Rendering with Incoming Tasks should render multi
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -798,6 +805,7 @@ exports[`IncomingTaskComponent Rendering with Incoming Tasks should render multi
<mdc-text
aria-describedby="tooltip-chat-task"
class="md-text-wrapper incoming-digital-task-title"
data-testid="task:title"
id="tooltip-trigger-chat-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -916,6 +924,7 @@ exports[`IncomingTaskComponent Rendering with Incoming Tasks should render multi
<mdc-text
aria-describedby="tooltip-social-task"
class="md-text-wrapper incoming-digital-task-title"
data-testid="task:title"
id="tooltip-trigger-social-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -1030,6 +1039,7 @@ exports[`IncomingTaskComponent Rendering with Incoming Tasks should render telep
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -1141,6 +1151,7 @@ exports[`IncomingTaskComponent Rendering with Incoming Tasks should render telep
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ exports[`TaskListComponent Actions should call acceptTask when accept button is
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -151,6 +152,7 @@ exports[`TaskListComponent Actions should call acceptTask when accept button is
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -267,6 +269,7 @@ exports[`TaskListComponent Actions should call declineTask when decline button i
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -383,6 +386,7 @@ exports[`TaskListComponent Actions should call declineTask when decline button i
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -499,6 +503,7 @@ exports[`TaskListComponent Actions should call onTaskSelect when task is clicked
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -576,6 +581,7 @@ exports[`TaskListComponent Actions should call onTaskSelect when task is clicked
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -653,6 +659,7 @@ exports[`TaskListComponent Actions should handle task selection between multiple
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-bold"
>
Expand Down Expand Up @@ -760,6 +767,7 @@ exports[`TaskListComponent Actions should handle task selection between multiple
<mdc-text
aria-describedby="tooltip-unselected-chat-task"
class="md-text-wrapper task-digital-title"
data-testid="task:title"
id="tooltip-trigger-unselected-chat-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -859,6 +867,7 @@ exports[`TaskListComponent Actions should handle task selection between multiple
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-bold"
>
Expand Down Expand Up @@ -966,6 +975,7 @@ exports[`TaskListComponent Actions should handle task selection between multiple
<mdc-text
aria-describedby="tooltip-unselected-chat-task"
class="md-text-wrapper task-digital-title"
data-testid="task:title"
id="tooltip-trigger-unselected-chat-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -1072,6 +1082,7 @@ exports[`TaskListComponent Rendering with Tasks should render digital incoming t
<mdc-text
aria-describedby="tooltip-incoming-chat-task"
class="md-text-wrapper incoming-digital-task-title"
data-testid="task:title"
id="tooltip-trigger-incoming-chat-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -1191,6 +1202,7 @@ exports[`TaskListComponent Rendering with Tasks should render multiple tasks wit
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -1259,6 +1271,7 @@ exports[`TaskListComponent Rendering with Tasks should render multiple tasks wit
<mdc-text
aria-describedby="tooltip-chat-task"
class="md-text-wrapper task-digital-title"
data-testid="task:title"
id="tooltip-trigger-chat-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -1352,6 +1365,7 @@ exports[`TaskListComponent Rendering with Tasks should render multiple tasks wit
<mdc-text
aria-describedby="tooltip-social-task"
class="md-text-wrapper task-digital-title"
data-testid="task:title"
id="tooltip-trigger-social-task"
tagname="span"
type="body-large-medium"
Expand Down Expand Up @@ -1451,6 +1465,7 @@ exports[`TaskListComponent Rendering with Tasks should render telephony incoming
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -1567,6 +1582,7 @@ exports[`TaskListComponent Rendering with Tasks should render telephony incoming
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-medium"
>
Expand Down Expand Up @@ -1664,6 +1680,7 @@ exports[`TaskListComponent Rendering with Tasks should show selected state with
>
<mdc-text
class="md-text-wrapper task-title"
data-testid="task:title"
tagname="span"
type="body-large-bold"
>
Expand Down
Loading
Loading