Skip to content

Commit b3af7e0

Browse files
Feediver1claude
andauthored
fix(tests): Fix Doc Detective sidebar nav selectors in quickstart (#1585)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f647a67 commit b3af7e0

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

modules/get-started/pages/quick-start.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ You can filter messages in topics using several methods:
205205
Suppose you're asked to find all transactions related to the `.edu` domain. You can use a JavaScript filter to display only messages that include email addresses in that domain.
206206

207207
. In the menu, click *Topics*.
208-
// (step {"find": {"selector": "[data-testid='nav-link-Topics']", "elementText": "Topics", "click": true, "timeout": 10000}})
208+
// (step {"goTo": "http://localhost:8080/overview"})
209+
// (step {"find": {"selector": "nav a[href='/topics']", "click": true, "timeout": 10000}})
209210
. Click the *transactions* topic. When the topic's page opens, the *Messages* tab is selected by default.
210211
// (step {"goTo": "http://localhost:8080/topics/transactions"})
211212
. Click *Add filter* > *JavaScript Filter*.
@@ -241,7 +242,7 @@ See also: xref:console:ui/programmable-push-filters.adoc[].
241242

242243
On the *Schema Registry* page, you see an overview of your schemas. You can create, manage, and inspect your schemas without leaving Redpanda Console.
243244

244-
// (step {"find": {"selector": "[data-testid='nav-link-Schema Registry']", "elementText": "Schema Registry", "click": true, "timeout": 10000}})
245+
// (step {"find": {"selector": "nav a[href='/schema-registry']", "click": true, "timeout": 10000}})
245246
// (step {"goTo": "http://localhost:8080/schema-registry/subjects/transactions?version=latest"})
246247
// (step {"screenshot": {"path": "../../modules/console/images/schema-reg.png", "maxVariation": 0.10, "overwrite": "aboveVariation"}})
247248

@@ -268,7 +269,7 @@ On the *Security* page, you can:
268269
Suppose you're onboarding a new team member who needs access to specific topics. You can use Redpanda Console to ensure users have the right permissions to perform their tasks.
269270

270271
. In the menu, click *Security*.
271-
// (step {"find": {"selector": "[data-testid='nav-link-Security']", "elementText": "Security", "click": true, "timeout": 10000}})
272+
// (step {"find": {"selector": "nav a[href='/security']", "click": true, "timeout": 10000}})
272273
// (step {"goTo": "http://localhost:8080/security/users"})
273274
. On the *Users* tab, click *Create user*.
274275
// (step {"find": {"selector": "[data-testid='create-user-button']", "elementText": "Create user", "click": true, "timeout": 100000}})
@@ -382,7 +383,7 @@ Data transforms let you run common data streaming tasks on the Redpanda broker,
382383
This quickstart deployment comes with one transform function called `regex` running in your cluster. Its job is to find records in the `logins` topic that contain email addresses with the `.edu` domain and add those to a new topic called `edu-filtered-domains`.
383384

384385
In the menu, click *Transforms*.
385-
// (step {"find": { "selector": "[data-testid='nav-link-Transforms']", "elementText": "Transforms", "click": true, "timeout": 15000}})
386+
// (step {"find": {"selector": "nav a[href='/transforms']", "click": true, "timeout": 15000}})
386387

387388
On the *Transforms* page, you see your transform. You can use Redpanda Console to manage and monitor your transforms.
388389
// (step {"screenshot": {"path": "../../modules/console/images/transforms.png", "maxVariation": 0.10, "overwrite": "aboveVariation"}})
@@ -403,7 +404,8 @@ See also:
403404
Audit logs provide a record of all user actions. You can use these logs to track changes, troubleshoot issues, and maintain compliance with your organization's security policies.
404405

405406
. In the menu, click *Topics*.
406-
// (step {"find": { "selector": "[data-testid='nav-link-Topics']", "click": true, "timeout": 15000}})
407+
// (step {"goTo": "http://localhost:8080/overview"})
408+
// (step {"find": {"selector": "nav a[href='/topics']", "click": true, "timeout": 15000}})
407409
// (step {"goTo": "http://localhost:8080/topics"})
408410
. Click the *Show internal topics* checkbox.
409411
// (step {"find": { "selector": "[data-testid='show-internal-topics-checkbox']", "elementText": "Show internal topics", "click": true, "timeout": 15000}})

0 commit comments

Comments
 (0)