From dd0650158842dbf1bf4581021dbb222cd8f36f64 Mon Sep 17 00:00:00 2001 From: Ritesh Singh Date: Tue, 8 Jul 2025 15:33:56 +0530 Subject: [PATCH 1/3] fix(cc-widgets): add email credentials to workflow --- .github/workflows/pull-request.yml | 3 +++ .../UserState/__snapshots__/user-state.snapshot.tsx.snap | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4e2ae1892..db3e5fb19 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -21,6 +21,9 @@ env: PW_DIAL_NUMBER: ${{ secrets.PW_DIAL_NUMBER }} PW_AGENT2_USERNAME: ${{ secrets.PW_AGENT2_USERNAME }} PW_AGENT2_EXTENSION_NUMBER: ${{ secrets.PW_AGENT2_EXTENSION_NUMBER }} + PW_SENDER_EMAIL : ${{ secrets.PW_SENDER_EMAIL }} + PW_EMAIL_ENDPOINT: ${{ secrets.PW_EMAIL_ENDPOINT }} + PW_APP_PASSWORD: ${{ secrets.PW_APP_PASSWORD }} jobs: validate: diff --git a/packages/contact-center/cc-components/tests/components/UserState/__snapshots__/user-state.snapshot.tsx.snap b/packages/contact-center/cc-components/tests/components/UserState/__snapshots__/user-state.snapshot.tsx.snap index c1e3bdec1..d9a46df52 100644 --- a/packages/contact-center/cc-components/tests/components/UserState/__snapshots__/user-state.snapshot.tsx.snap +++ b/packages/contact-center/cc-components/tests/components/UserState/__snapshots__/user-state.snapshot.tsx.snap @@ -279,7 +279,7 @@ exports[`UserState Component Snapshots Interactions should handle custom state r `; -exports[`UserState Component Snapshots Rendering should not render elapsed time when customState is present 1`] = ` +exports[`UserState Component Snapshots Rendering - Tests for UI elements and visual states of UserState component should not render elapsed time when customState is present 1`] = `
`; -exports[`UserState Component Snapshots Rendering should render elapsed time with disabled class when isSettingAgentStatus is true 1`] = ` +exports[`UserState Component Snapshots Rendering - Tests for UI elements and visual states of UserState component should render elapsed time with disabled class when isSettingAgentStatus is true 1`] = `
`; -exports[`UserState Component Snapshots Rendering should render elapsed time without lastIdleStateChangeElapsedTime when negative 1`] = ` +exports[`UserState Component Snapshots Rendering - Tests for UI elements and visual states of UserState component should render elapsed time without lastIdleStateChangeElapsedTime when negative 1`] = `
`; -exports[`UserState Component Snapshots Rendering should render the component with correct elements 1`] = ` +exports[`UserState Component Snapshots Rendering - Tests for UI elements and visual states of UserState component should render the component with correct elements 1`] = `
Date: Tue, 8 Jul 2025 16:23:40 +0530 Subject: [PATCH 2/3] fix(cc-widgets): update email env variable in workflow --- .github/workflows/pull-request.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index db3e5fb19..af1a9f54c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -21,8 +21,6 @@ env: PW_DIAL_NUMBER: ${{ secrets.PW_DIAL_NUMBER }} PW_AGENT2_USERNAME: ${{ secrets.PW_AGENT2_USERNAME }} PW_AGENT2_EXTENSION_NUMBER: ${{ secrets.PW_AGENT2_EXTENSION_NUMBER }} - PW_SENDER_EMAIL : ${{ secrets.PW_SENDER_EMAIL }} - PW_EMAIL_ENDPOINT: ${{ secrets.PW_EMAIL_ENDPOINT }} PW_APP_PASSWORD: ${{ secrets.PW_APP_PASSWORD }} jobs: From fee5314e2700bac9ce692f2964938bac22410789 Mon Sep 17 00:00:00 2001 From: Ritesh Singh Date: Tue, 8 Jul 2025 16:30:19 +0530 Subject: [PATCH 3/3] fix(cc-widgets): update email entrypoint name in workflow --- .github/workflows/pull-request.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index af1a9f54c..1c04591a7 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -21,6 +21,8 @@ env: PW_DIAL_NUMBER: ${{ secrets.PW_DIAL_NUMBER }} PW_AGENT2_USERNAME: ${{ secrets.PW_AGENT2_USERNAME }} PW_AGENT2_EXTENSION_NUMBER: ${{ secrets.PW_AGENT2_EXTENSION_NUMBER }} + PW_SENDER_EMAIL : ${{ secrets.PW_SENDER_EMAIL }} + PW_EMAIL_ENTRY_POINT : ${{ secrets.PW_EMAIL_ENTRY_POINT }} PW_APP_PASSWORD: ${{ secrets.PW_APP_PASSWORD }} jobs: