| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b10e300 commit b8ec0e2
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -142,7 +142,9 @@ jobs: | |||
| 142 | 142 | run: | | |
| 143 | 143 | curl -Ls "https://get.maestro.mobile.dev" | bash | |
| 144 | 144 | echo "$HOME/.maestro/bin" >> $GITHUB_PATH | |
| 145 | - brew tap facebook/fb && brew install idb-companion | ||
| 145 | + # Homebrew refuses formulae from untrusted third-party taps by | ||
| 146 | + # default; trust the tap explicitly before installing. | ||
| 147 | + brew tap facebook/fb && brew trust facebook/fb && brew install idb-companion | ||
| 146 | 148 | ||
| 147 | 149 | - name: Build and run E2E tests | |
| 148 | 150 | run: ./scripts/run-e2e.sh ios ${{ matrix.suites }} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3052,6 +3052,13 @@ def mountRow(self, position: int, container: Any, width_dp: float, height_dp: fl | |||
| 3052 | 3052 | ) | |
| 3053 | 3053 | if root is not None: | |
| 3054 | 3054 | _insert_view(container, root, 0) | |
| 3055 | + # The layout engine frames only the *descendants* | ||
| 3056 | + # of a subtree root (screen hosts normally size | ||
| 3057 | + # the root themselves), so the row root would | ||
| 3058 | + # otherwise keep the 0x0 params ``_insert_view`` | ||
| 3059 | + # assigns and render as nothing. Fill the cell. | ||
| 3060 | + FrameLP = jclass("android.widget.FrameLayout$LayoutParams") | ||
| 3061 | + root.setLayoutParams(FrameLP(FrameLP.MATCH_PARENT, FrameLP.MATCH_PARENT)) | ||
| 3055 | 3062 | except Exception: | |
| 3056 | 3063 | import traceback | |
| 3057 | 3064 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4050,6 +4050,15 @@ def _table_cell_imp(self_ptr: int, cmd_ptr: int, tv_ptr: int, ip_ptr: int) -> in | |||
| 4050 | 4050 | root = pool.bind(content_key, lambda: render_row(row), cell_w, row_h) | |
| 4051 | 4051 | if root is not None: | |
| 4052 | 4052 | content.addSubview_(root) | |
| 4053 | + # The layout engine frames only the *descendants* | ||
| 4054 | + # of a subtree root (screen hosts normally size | ||
| 4055 | + # the root themselves), so the row root would | ||
| 4056 | + # otherwise keep its zero frame and render as | ||
| 4057 | + # nothing. Fill the cell. | ||
| 4058 | + try: | ||
| 4059 | + root.setFrame_(((0, 0), (cell_w, row_h))) | ||
| 4060 | + except Exception: | ||
| 4061 | + pass | ||
| 4053 | 4062 | except Exception: | |
| 4054 | 4063 | print(f"[VirtualList][iOS] mount for row={row} raised:") | |
| 4055 | 4064 | _tb.print_exc() | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,6 +16,14 @@ appId: ${APP_ID} | |||
| 16 | 16 | # Rich text: three nested spans flatten into one native label whose | |
| 17 | 17 | # plain text is the concatenation of the parts. | |
| 18 | 18 | - assertVisible: "Rich start bold middle red end" | |
| 19 | + # The rich-text section pushes "Back to list" below the fold on the | ||
| 20 | + # shorter emulator viewports; close_demo taps it without scrolling, | ||
| 21 | + # so surface it first (no-ops when it's already visible). | ||
| 22 | + - scrollUntilVisible: | ||
| 23 | + element: | ||
| 24 | + text: "Back to list" | ||
| 25 | + direction: DOWN | ||
| 26 | + timeout: 20000 | ||
| 19 | 27 | - runFlow: | |
| 20 | 28 | file: ../../helpers/close_demo.yaml | |
| 21 | 29 | env: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments