Hero Background

Power Your Software Testing with AI Agents and Cloud

The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.

Kane CLISupport

Test an agent reply and the status that goes with it

Submitting a reply as pending does two jobs at once, and the queue depends on the second one.

Published on:

An agent replying and setting a status is one action with two effects. The customer sees the reply and the queue sees the status, and a status that fails to stick puts the ticket back in front of the next agent.

This use case replies to a ticket on the Zendisk clone and follows the status into the list.

Failure modes in this flow

Both halves of the action need checking, and the status has to be checked somewhere other than the page that set it.

  • The right ticket is open - 4409, identified by number and subject.
  • The reply is recorded - the exact text appearing in the conversation.
  • The status changed - Pending on the ticket fields.
  • The queue agrees - the same status on the row in the ticket list.

Checking the list view is what makes this more than a form test. A ticket detail page that shows Pending while the queue still shows Open means the next agent picks up a ticket that is already handled, and the customer gets two replies.

Note

Note: Asserting a status on the page that set it and again on the list that reads it is how you catch a write that did not propagate. Try it on TestMu AI. Try free!

Writing the objective

The reply text is asserted in the conversation rather than in the compose box, which proves it was posted rather than merely typed.

---
mode: testing
url: https://my-testing-repo-main.vercel.app/zendesk-clone-app/agent?reset=true
max_steps: 45
tags: [zendesk, support, agent]
---

# Zendisk 30.2: Agent reply and status

Catalog objective: reply as an agent and set the status to pending.
Key assertion: the reply is recorded and the status change sticks.

## Open the ticket
Click "Open" on ticket 4409 and verify the page title reads "#4409 · Cannot download my August invoice".

## Write a reply
Type "I can see the failure in our logs and a fix is going out today." into "Public reply".

## Submit as pending
Click "Submit as Pending" and verify the conversation now contains that reply text.

## Verify the status changed
Verify "Status" in the ticket fields now reads "Pending", then click "← All tickets" and verify the 4409 row shows a status of "Pending".

Navigating back through the all tickets link, rather than reloading, is what would expose a list served from cache after the update.

The assertions in detail

A ticket, a reply, a status and the queue.

StepWhat it proves
Open the ticketThe correct ticket opens by number and subject
Write a replyThe compose box accepts the text
Submit as pendingThe reply is posted into the conversation
Verify the status changedPending on the ticket and on the list row

The reply and the status are asserted separately because a submit that posts the text and fails to move the status is a realistic and common half-failure.

Next-generation test execution with TestMu AI

Running it locally

kane-cli testmd run tests/zendesk/agent-reply-status_test.md

Add an internal note, since a note that posts as a public reply is a support incident rather than a bug.

Queue state drives who does what next. Evidence based QA covers keeping proof, and Kane CLI as a QA agent covers building the suite around it.

Author

...

Bhawana

Blogs: 75

  • Twitter
  • Linkedin

Bhawana is a Community Evangelist at TestMu AI with over 3 years of experience creating technically accurate, strategy-driven content in software testing. She has authored 50+ blogs on test automation, cross-browser testing, mobile testing, and real device testing. She also serves as Product Marketing Manager for Kane CLI, the command-line tool that runs browser automation from the terminal using natural-language flows in a real Chrome browser. Bhawana is certified in KaneAI, Selenium, Appium, Playwright, and Cypress, reflecting her hands-on knowledge of modern automation practices. On LinkedIn, she is followed by 6000+ QA engineers, testers, AI automation testers, and tech leaders.

Add to Google preferred sources

Summarise with AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Agent Reply FAQs

Did you find this page helpful?

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests