Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unable to find or interact with any elements on Android

オープン
#163 コメント 5 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, react-native, typescript

調査の方向性

React Native 0.71.8 と成熟したアプリの ButtonSignIn testID を使用して、サンプルテストで説明されている Android のケースを再現する。まず、動作している takeScreenshot 呼び出しと、ハングする press および toExist 呼び出しを比較し、次に同じ test ID に対する既存の Appium e2e の動作を確認する。インタラクティブ API がそれらの要素を見つけて操作し、スクリーンショットのアサーションに到達すれば完了とする。

索引モデルが issue の本文から書いたものです。

説明

I ran your example app with no problem on Android.

On the other end our mature app does not work as expected.
takeScreenshot works as expected but every interacting API method does nothing and hangs.
toExist and press do not find element. I'm 100% certain I have the right testID. We also have e2e tests with appium having no issues finding those elements by test ids.

We are on "react-native": "0.71.8"

Is there something I'm missing?

const { press, takeScreenshot } = require('react-native-owl');

const setDelay = (delay) => new Promise((resolve) => setTimeout(resolve, delay));

jest.setTimeout(50000);

describe('App.tsx', () => {
  it('presses a button, then takes a screenshot', async () => {
    await setDelay(5000);
    await press('ButtonSignIn');
    // never reaches this
    const screen = await takeScreenshot('afterButtonPress');
    expect(screen).toMatchBaseline();
  });
});

主要言語
TypeScript
スター
693
フォーク
27
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FormidableLabs/react-native-owl のほかの issue

FormidableLabs/react-native-owl の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。