appium / appium/java-client

Feature: Overridden widget interfaces

Open
#1,926 0 comments 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

Description

Is it possible to implement so that overridden widgets are interfaces?

Environment

Java client 8.5.0

Details

Now we have some restrictions:
All classes which are declared by the OverrideWidget annotation should be subclasses of the class declared by field
All classes which are declared by the OverrideWidget should not be abstract

@OverrideWidget(iOSUIAutomation = UsersWidgetForIOS .class)
DefaultUsersWidget widget;

Is it possible to implement so that DefaultUsersWidget is an interface?

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 reviewing the OverrideWidget annotation and the widget field declarations described in the issue, then trace how overridden classes are validated. Define how interface-based DefaultUsersWidget declarations should work while preserving existing subclass and abstract-class behavior. Done means interface overrides are accepted and covered by appropriate validation tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.