Skip to main content

End-to-End Testing

This section documents Deepdesk's End-to-End (E2E) test suite, which validates the complete functionality of our platform across all integrated contact center systems.

Overview

The Deepdesk E2E test suite automatically validates the entire application stack across multiple platforms. Tests simulate real user interactions to ensure all features work correctly before releases.

Purpose

  • Quality assurance: Catch bugs and regressions before they reach production
  • Multi-platform validation: Ensure all contact center integrations work correctly
  • Continuous verification: Automated testing on every build
  • Confidence in releases: Validate critical user workflows end-to-end

Technology Stack

ComponentTechnology
Test FrameworkPlaywright
LanguageTypeScript
BrowserChrome
CI/CDGoogle Cloud Build
Load Testingk6

Test Coverage

The test suite covers all major Deepdesk features across every supported platform integration.

Deepdesk Studio

AreaWhat's Tested
AssistantsCreating, testing, triggers, fallback behavior
Assistant ActivityTraces, filtering, sorting, nested visualization
Assistant ConnectorsMicrosoft Copilot, MCP APIs, REST APIs
Assistant GroupsCreate, read, update, delete operations
Assistant RoutesRouting configuration and management
Assistant FeedbackFeedback collection, sorting, filtering
Decision TreesAssignment and configuration
ProfilesPublishing, deployment, recommendation engine
PermissionsAgent, assistant editor, manager, studio editor roles
Knowledge BasesProcessing and search functionality

Platform Integrations

RingCentral

AreaWhat's Tested
Chat HandlingSingle conversation, multiple concurrent conversations
Knowledge BaseSearch functionality
SuggestionsText, URL, style, and personal suggestions
Pinned MessagesCreating and using pinned messages
Conversation FeaturesSummary generation, clipper, conversation assistants
RoutingRouting assistant behavior
AuthenticationSSO login, magic link (approve/reject), access token refresh, session management
Image SearchImage-based search functionality
Client ProfileClient profile fields display
AnonymizationPII anonymization when inactive

LivePerson

Chat Mode:

AreaWhat's Tested
Chat HandlingSingle conversation, multiple concurrent conversations, search
Knowledge BaseSearch functionality
SuggestionsText, URL, style, and personal suggestions
Pinned MessagesCreating and using pinned messages
Conversation FeaturesSummary generation, clipper, conversation assistants

Messaging Mode:

AreaWhat's Tested
Messaging HandlingSingle conversation, multiple concurrent conversations, search
Knowledge BaseSearch functionality
SuggestionsText, URL, style, and personal suggestions
Pinned MessagesCreating and using pinned messages
Conversation FeaturesSummary generation, clipper, conversation assistants
Image SearchImage-based search functionality

Genesys Cloud

Platform (Agent Desktop):

AreaWhat's Tested
Chat HandlingSingle conversation, multiple concurrent conversations, search
Knowledge BaseSearch functionality
SuggestionsText, URL, style, and personal suggestions
Pinned MessagesCreating and using pinned messages
Conversation FeaturesSummary generation, clipper, conversation assistants
AuthenticationSSO login, magic link behavior
Image SearchImage-based search functionality
AnonymizationPII anonymization when active
Live TranslationStandard, adaptive, and event-based translation

Copilot Chat:

AreaWhat's Tested
Knowledge BaseSearch and retrieval
Conversation AssistantsAssistant invocation and responses
Attach ConversationsAttaching conversation context
SDK IntegrationAssistants SDK, general SDK functionality
SummarizerEvent handling, request processing
WidgetWidget behavior without conversation
Work ItemsWork item handling

Copilot Voice:

AreaWhat's Tested
Knowledge BaseSearch and retrieval
Conversation AssistantsAssistant invocation and responses
Attach ConversationsAttaching conversation context
SummarizerEvent handling, request processing

Genesys WDE

AreaWhat's Tested
Knowledge BaseSearch functionality
SuggestionsText, URL, style, and personal suggestions
Pinned MessagesCreating and using pinned messages
Conversation FeaturesSummary generation, clipper
AuthenticationSSO login, API key login
PreferencesPreferences menu functionality

Salesforce

AreaWhat's Tested
Chat HandlingSingle conversation, multiple concurrent conversations, search
Knowledge BaseSearch functionality
SuggestionsText, URL, style, and personal suggestions
Pinned MessagesCreating and using pinned messages
Conversation FeaturesSummary generation, clipper, conversation assistants
AuthenticationSSO login

Anywhere365

AreaWhat's Tested
Voice CopilotKnowledge base search and retrieval

API Testing

AreaWhat's Tested
Assistant TracesPagination, filtering, ordering
Assistant SpansPagination, filtering, ordering
Assistant FeedbackSearch, ordering
RecommendationsURL recommendations
ConversationsConversation updates
MessagesSingle and multiple message handling
API KeysAPI key management

Load Testing

Deepdesk runs automated load tests daily using k6 to measure API performance under concurrent load.

Configuration: 20 virtual users, 20 iterations

What's tested:

AreaWhat's Tested
ConversationsConversation creation
MessagesMessage creation
AutocompleteAutocomplete response times
RecommendationsText and URL recommendation endpoints

Monitoring:

Load test metrics are exported to Prometheus and visualized in Grafana dashboards, enabling historical performance trends and alerting on performance degradation.

CI/CD Integration

When Tests Run

Tests are executed automatically as part of the CI/CD pipeline on Google Cloud Build.

Pipeline Structure

The test suite is divided into 6 parallel jobs to optimize execution time:

JobWhat's Tested
Part 1Deepdesk Studio
Part 2RingCentral integration
Part 3LivePerson integration
Part 4Genesys Cloud integration
Part 5Anywhere365 + Salesforce integrations
Part 6API endpoints

Pipeline Workflow

Install Dependencies

Set Secrets

┌───────┴───────┐
│ Run 6 Jobs │ ← Parallel execution
│ in Parallel │
└───────┬───────┘

Merge Reports

Upload to Cloud Storage

Report Status

Available CI/CD Jobs

JobPurpose
e2e-tests.yamlFull test suite execution
e2e-tests-single.yamlRun a single specific test

Test Reports

After each run, HTML reports are uploaded to Google Cloud Storage and accessible via the Cloud Console. Reports include:

  • Pass/fail status for each test
  • Screenshots of failures
  • Execution traces for debugging

Test Organization

Tests are organized by platform using tags, enabling selective execution:

  • @deepdeskStudio — Deepdesk Studio admin interface
  • @ringCentral — RingCentral integration
  • @livePerson — LivePerson chat and messaging
  • @genesysCloud — Genesys Cloud platform and copilot
  • @genesysWde — Genesys WDE integration
  • @anywhereNow — Anywhere365 integration
  • @salesforce — Salesforce integration
  • @api — API-level tests

External Services Used

The test suite integrates with several external services for comprehensive testing:

ServicePurpose
TestMailEmail verification testing
TwilioVoice call testing
BigQueryData validation