一键导入
open-testing-convert-espresso
Convert Espresso (Android native UI testing) test suites — Java / Kotlin `@RunWith(AndroidJUnit4.class)` tests, `onView(withId(R.id.button_login)).perform(click())`, Matchers (`withText`, `withHint`, `withContentDescription`, `hasSibling`, `isDescendantOfA`), ViewActions (`click`, `typeText`, `swipeLeft`, `scrollTo`), ViewAssertions (`matches`, `doesNotExist`, `isDisplayed`), `IdlingResource`, `ActivityScenario`, `ActivityTestRule`, `IntentsTestRule`, UiAutomator hybrid, Espresso-Web `onWebView()`. Handles synchronous view-matcher model, resource ID stability, IdlingResource sync, Hamcrest matcher composition, and native-to-cross-platform routing (Appium for mobile targets). Targets: Selenium, Playwright, Cypress, WebDriverIO, Puppeteer, Appium, Cucumber, Eggplant, TestCafe, Nightwatch, CodeceptJS, Taiko, Protractor, Katalon, OpenTest.AI, Testers.AI Recorder, Testers.AI Dynamic. MANDATORY TRIGGERS: "convert Espresso", "AndroidJUnit4", "onView", "ViewMatchers", "androidTest".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。