Skip to content

Conversation

@edgarysabel
Copy link

@edgarysabel edgarysabel commented Jul 13, 2025

Summary

Related PRs, issues, or features (optional)

  • Add instructions to use both Kobiton Inspector (new UI) and Appium Inspector.

Metadata

  • Adds new file(s)
  • Edits existing file(s)
  • Removes file(s)

PR contributor checklist

Summary by CodeRabbit

  • Documentation
    • Added a new guide on connecting Appium Inspector to Kobiton, including setup instructions, configuration examples, troubleshooting tips, and notes on known limitations.
    • Introduced an "Appium Tools" section in the navigation for easier access to related resources.
    • Updated and expanded documentation for launching Appium 2 sessions, detailing required credentials and linking to relevant resources.
    • Enhanced Inspector tool documentation with clearer explanations, improved structure, and larger, more descriptive images.
    • Increased image sizes in analytics documentation for better visibility.
    • Corrected an image filename in the session management documentation for accurate referencing.

@coderabbitai
Copy link

coderabbitai bot commented Jul 13, 2025

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (11)
  • docs/modules/session-explorer/images/appium-inspector-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/appium-inspector-select-element.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/attributes-context-one.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/attributes-context-two.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/download-inventory-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/hover-attribute-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/inspect-elements-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/refresh-inventory-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/search-bar-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/select-explorer-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/webview-closeup.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The updates introduce a new "Appium Tools" navigation section and a comprehensive guide for connecting Appium Inspector to Kobiton. Documentation for the Inspector tool was extensively rewritten for clarity and detail. Several images were enlarged for better visibility, credential instructions for launching Appium 2 sessions were clarified and expanded, and a broken image link was fixed.

Changes

File(s) Change Summary
docs/modules/automation-testing/nav.adoc Added "Appium Tools" section; relabeled "Run an automation test" to "Run an automation test in CI/CD".
docs/modules/automation-testing/pages/appium-tools/connect-appium-inspector-to-kobiton.adoc Added new guide for connecting Appium Inspector to Kobiton, covering setup, configuration, and troubleshooting.
docs/modules/automation-testing/pages/basic-appium-server/launch-a-basic-appium-2-session.adoc Expanded and clarified credential requirements; removed version note.
docs/modules/manual-testing/pages/device-information/inspector.adoc Rewrote and expanded Inspector tool documentation for clarity, detail, and structure.
docs/modules/session-explorer/pages/analytics/reinspect-appium-elements.adoc Increased image widths to 1000px; split one image into two; no textual changes.
docs/modules/session-explorer/pages/manage-sessions.adoc Fixed image filename reference from "session-overview-context copy.png" to "session-overview-context.png".

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Appium Inspector
    participant Kobiton Server

    User->>Appium Inspector: Launch Appium Inspector
    User->>Appium Inspector: Enter Kobiton credentials & server details
    Appium Inspector->>Kobiton Server: Connect using credentials
    Kobiton Server-->>Appium Inspector: Authenticate and respond
    User->>Appium Inspector: Input device and session capabilities (JSON)
    Appium Inspector->>Kobiton Server: Start session with capabilities
    Kobiton Server-->>Appium Inspector: Session started, device ready
    User->>Appium Inspector: Inspect and interact with device session
Loading

Poem

A new tool hops into view,
Appium Inspector, fresh and true!
With guides and steps so crystal clear,
Credentials and tips are always near.
Images grow, instructions bloom—
Now testing’s easier in every room!
🐇✨


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (3)
docs/modules/session-explorer/pages/analytics/reinspect-appium-elements.adoc (1)

20-55: Verify 1000-px images won’t blow out responsive layout

Bumping every screenshot to a fixed width=1000 may cause horizontal scrolling on small-viewport devices. Consider using a percentage (width=100%) or omitting the width so Antora/Asciidoctor scales the image automatically.

docs/modules/automation-testing/pages/basic-appium-server/launch-a-basic-appium-2-session.adoc (2)

25-88: Data-type accuracy for kobiton:retainDurationInSeconds

The table lists the type as String, but the capability represents a numeric duration. Marking it as Integer (or “Number”) avoids confusion and keeps examples consistent with other docs.

-|`kobiton:retainDurationInSeconds`
-|String
+|`kobiton:retainDurationInSeconds`
+|Integer

98-111: Example uses Android “15” (rumoured release)

Android 15 is still in preview; customers on production devices may fail to match this version string. Swapping to “14” or clearly flagging it as preview will reduce support noise.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 79945b5 and 245321d.

⛔ Files ignored due to path filters (15)
  • docs/modules/automation-testing/images/appium-inspector-capabilities.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/appium-inspector-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/appium-inspector-select-element.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/attributes-context-one.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/attributes-context-two.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/attributes-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/download-inventory-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/hover-attribute-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/inspect-elements-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/refresh-inventory-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/search-bar-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/search-session-id-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/select-explorer-context.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/select-sessions-closeup.png is excluded by !**/*.png
  • docs/modules/session-explorer/images/webview-closeup.png is excluded by !**/*.png
📒 Files selected for processing (5)
  • docs/modules/automation-testing/nav.adoc (1 hunks)
  • docs/modules/automation-testing/pages/basic-appium-server/launch-a-basic-appium-2-session.adoc (1 hunks)
  • docs/modules/automation-testing/pages/connect-appium-to-kobiton.adoc (1 hunks)
  • docs/modules/manual-testing/pages/device-information/inspector.adoc (1 hunks)
  • docs/modules/session-explorer/pages/analytics/reinspect-appium-elements.adoc (3 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: tungmhoang
PR: kobiton/docs#277
File: docs/modules/automation-testing/pages/get-a-session-id/using-the-kobiton-portal.adoc:16-16
Timestamp: 2025-06-05T04:25:21.053Z
Learning: In Kobiton documentation, "Session Overview" terminology is still appropriate when referring to the overview section/view within Session Explorer, even when other parts of the documentation use "Session Explorer" terminology.
docs/modules/session-explorer/pages/analytics/reinspect-appium-elements.adoc (1)
Learnt from: tungmhoang
PR: kobiton/docs#277
File: docs/modules/automation-testing/pages/get-a-session-id/using-the-kobiton-portal.adoc:16-16
Timestamp: 2025-06-05T04:25:21.053Z
Learning: In Kobiton documentation, "Session Overview" terminology is still appropriate when referring to the overview section/view within Session Explorer, even when other parts of the documentation use "Session Explorer" terminology.
docs/modules/manual-testing/pages/device-information/inspector.adoc (1)
Learnt from: tungmhoang
PR: kobiton/docs#277
File: docs/modules/automation-testing/pages/get-a-session-id/using-the-kobiton-portal.adoc:16-16
Timestamp: 2025-06-05T04:25:21.053Z
Learning: In Kobiton documentation, "Session Overview" terminology is still appropriate when referring to the overview section/view within Session Explorer, even when other parts of the documentation use "Session Explorer" terminology.
docs/modules/automation-testing/pages/basic-appium-server/launch-a-basic-appium-2-session.adoc (1)
Learnt from: tungmhoang
PR: kobiton/docs#277
File: docs/modules/automation-testing/pages/get-a-session-id/using-the-kobiton-portal.adoc:16-16
Timestamp: 2025-06-05T04:25:21.053Z
Learning: In Kobiton documentation, "Session Overview" terminology is still appropriate when referring to the overview section/view within Session Explorer, even when other parts of the documentation use "Session Explorer" terminology.
docs/modules/automation-testing/pages/connect-appium-to-kobiton.adoc (1)
Learnt from: tungmhoang
PR: kobiton/docs#277
File: docs/modules/automation-testing/pages/get-a-session-id/using-the-kobiton-portal.adoc:16-16
Timestamp: 2025-06-05T04:25:21.053Z
Learning: In Kobiton documentation, "Session Overview" terminology is still appropriate when referring to the overview section/view within Session Explorer, even when other parts of the documentation use "Session Explorer" terminology.
🔇 Additional comments (1)
docs/modules/automation-testing/nav.adoc (1)

2-2: Navigation entry LGTM

The new link is correctly formatted and positioned logically in the list.

@tungmhoang tungmhoang self-requested a review July 14, 2025 03:38
Copy link
Collaborator

@tungmhoang tungmhoang left a comment

Choose a reason for hiding this comment

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

@edgarysabel Some comments regarding images.

@tungmhoang
Copy link
Collaborator

tungmhoang commented Jul 14, 2025

Also, @edgarysabel please clone this repo to your local machine and create a new branch on the official repo, instead of forking your own.

@edgarysabel
Copy link
Author

@tungmhoang Making a new branch in the main repo is not allowed to me, I can do if given the permission. Will be working in this fork!

Copy link
Collaborator

@tungmhoang tungmhoang left a comment

Choose a reason for hiding this comment

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

More changes that need to be made.

@tungmhoang
Copy link
Collaborator

@tungmhoang Making a new branch in the main repo is not allowed to me, I can do if given the permission. Will be working in this fork!

It's okay. You can work in this fork.

Copy link
Collaborator

@tungmhoang tungmhoang left a comment

Choose a reason for hiding this comment

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

Additional changes.

@tungmhoang tungmhoang self-requested a review July 17, 2025 03:37
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (5)
docs/modules/automation-testing/pages/connect-appium-inspector-to-kobiton.adoc (5)

41-47: Fix bold-code formatting in the On-Prem “Remote host” bullet

The current text has an extra space between the two asterisks (**kobitonServerUrl **value) which breaks bold rendering and looks like a typo.

-*** *Remote host*: fill in the address of the Portal server. You can find this information from the **kobitonServerUrl **value in Automation Settings. Example: `192.168.50.85` or `www.kobiton.local`.
+*** *Remote host*: fill in the address of the Portal server. You can find this information from the **`kobitonServerUrl`** value in *Automation Settings*. Example: `192.168.50.85` or `www.kobiton.local`.

55-57: Back-tick and quote mismatch in capability list

appium:accessKey is missing the closing back-tick, and both keys should be styled consistently.

-**`"appium:username"`: the Kobiton account’s username.
-** `"appium:accessKey`: the Kobiton account’s API key.
+** `appium:username`: the Kobiton account’s username.  
+** `appium:accessKey`: the Kobiton account’s API key.

61-68: Replace smart quotes and align capability formatting

Smart quotes (“ ”) will be rendered literally in AsciiDoc and break JSON copy-paste. Use straight quotes and back-ticks for inline code.

-** `“kobiton:runtime"`:"appium".
-** `"appium:automationName"`: must have one of the below values:
+** `kobiton:runtime`: `"appium"`  
+** `appium:automationName`: must have one of the values below:

Also consider moving the code value ("appium") outside the bullet title for clearer reading, as shown above.


74-85: Minor JSON hygiene

Including a vendorPrefix: on standard capabilities is fine, but for completeness consider adding the authentication keys (appium:username, appium:accessKey) to the Xium example so readers can copy-paste directly.

No functional issue—only a documentation enhancement.


125-129: Anchor the “Android” subsection for quicker linking

If this page grows, an explicit anchor (e.g. [id="android-workarounds"]) before *Android*: will let other docs deep-link to it.

Not required, but improves long-term maintainability of cross-references.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b09188f and 8697497.

📒 Files selected for processing (3)
  • docs/modules/automation-testing/nav.adoc (1 hunks)
  • docs/modules/automation-testing/pages/basic-appium-server/launch-a-basic-appium-2-session.adoc (1 hunks)
  • docs/modules/automation-testing/pages/connect-appium-inspector-to-kobiton.adoc (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/modules/automation-testing/nav.adoc
  • docs/modules/automation-testing/pages/basic-appium-server/launch-a-basic-appium-2-session.adoc
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: tungmhoang
PR: kobiton/docs#277
File: docs/modules/automation-testing/pages/get-a-session-id/using-the-kobiton-portal.adoc:16-16
Timestamp: 2025-06-05T04:25:21.053Z
Learning: In Kobiton documentation, "Session Overview" terminology is still appropriate when referring to the overview section/view within Session Explorer, even when other parts of the documentation use "Session Explorer" terminology.
docs/modules/automation-testing/pages/connect-appium-inspector-to-kobiton.adoc (1)
Learnt from: tungmhoang
PR: kobiton/docs#277
File: docs/modules/automation-testing/pages/get-a-session-id/using-the-kobiton-portal.adoc:16-16
Timestamp: 2025-06-05T04:25:21.053Z
Learning: In Kobiton documentation, "Session Overview" terminology is still appropriate when referring to the overview section/view within Session Explorer, even when other parts of the documentation use "Session Explorer" terminology.

@tungmhoang tungmhoang requested a review from erincbailey July 18, 2025 10:11
@tungmhoang
Copy link
Collaborator

@erincbailey could you review this as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants