Skip to content

Commit dd61ae4

Browse files
authored
feat(site): add iQIYI to users and fetch GitHub stars at build time (#2516)
* feat(site): add iQIYI to users and fetch GitHub stars at build time - Append iQIYI to the "Who is using Midscene" lineup with the official wordmark SVG and matching en/zh i18n entries. - Replace the hardcoded "12k+" hero stat with __MIDSCENE_GITHUB_STARS__, populated at build time via rspress source.define from the GitHub REST API. Falls back to "13k+" on timeout, rate limiting, or any other failure so the build never breaks. - Switch the rspress config to the async form to support the fetch and rebuild __dirname from import.meta.url for the ESM loader path. * test(report): stabilize player settings e2e * test(report): refine player settings prompt * test(report): use hover primitive for player settings
1 parent 07cbfd3 commit dd61ae4

8 files changed

Lines changed: 838 additions & 607 deletions

File tree

apps/report/e2e/report-single.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,17 @@ tasks:
1717
# --- Settings popup ---
1818
- name: settings popup opens and shows options
1919
flow:
20-
- ai: Hover over the video player area to reveal the playback controls, then click the settings icon at the bottom right of the player controls. The icon looks like a hexagon with a small circle in the center.
21-
deepLocate: true
20+
- aiHover:
21+
locate:
22+
prompt: the central video player replay area, not the timeline thumbnails and not the left task sidebar
23+
deepLocate: true
24+
- sleep: 300
25+
- aiTap:
26+
locate:
27+
prompt: the visible settings button in the bottom playback control bar. It is the small hexagon or gear-shaped icon in the right-side control group, immediately left of the fullscreen icon and right of the progress bar.
28+
deepLocate: true
2229
- sleep: 1000
23-
- aiAssert: A settings popup is visible showing playback speed options or toggle switches
30+
- aiAssert: The player settings popup is open above the bottom-right control bar, showing options such as "Focus on cursor", "Subtitle", "Playback speed", and speed choices like "0.5x", "1x", "1.5x", or "2x".
2431

2532
# --- Dark mode ---
2633
- name: toggle dark mode

apps/site/docs/public/images/users/iqiyi-color.svg

Lines changed: 167 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)