appium / appium/java-client

java.lang.AssertionError: expected [*****] but found [∗∗∗∗∗]

Open
#1,401 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

The problem

In my app after tapping on a specific area certain values are hidden (*****).In my test case I have to check whether after tapping the values are getting hidden or not.
I am trying to assert the asterisk strings but the assertion is failing.
I tried string normalisation, trim , toString but still facing the same issue.
I also tried to do convert latter string to superscript but I am not sure how can I achieve that in Java
How can I get through this?

Environment

  • Appium version (or git revision) that exhibits the issue:Appium 1.18.1
  • Desktop OS/version used to run Appium:Catalina
  • Mobile platform/version under test:Android
  • Real device or emulator/simulator:Real device
  • Appium CLI or Appium.app|exe:Appium CLI

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no repository file, test, or entry point; start with the failing Java assertion in the Appium test and inspect the two strings returned after the Android tap. Done would require a reproducible repository change or a documented resolution, neither of which is specified here.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.