appium / appium/java-client

FR: Make @WithTimeout applicable to classes

Open
#2,235 3 comments 1 reaction 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

Description

At the moment, the @WithTimeout annotation can only be applied to fields.

Often when working with widgets, having the root element ready means that the inner elements will also be ready for interaction.
@WithTimeout annotation is great for reducing the time spent searching for inner elements, but requires application for each field.
It would be nice to have the ability to apply annotations to all widget class fields at once.

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

Start by locating @WithTimeout and how its current field-only application is processed. Determine how a class-level annotation should apply the timeout to all widget class fields, then add coverage showing that fields receive the configured timeout when the annotation is placed on the class.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.