Skip to content
Back to skills

Mobile Testing

ASecurity

Provides Detox end-to-end test patterns for mobile apps; use when writing mobile E2E tests or configuring Detox.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 19, 2026
ai-agentstypescriptreacttesting

Security analysis

A100/100

Scanned October 19, 2026

npx -y skills add sawrus/agent-guides --skill mobile-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mobile Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mobile Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sawrus-mobile-testing/badge)](https://www.skillsdirectory.com/skills/sawrus-mobile-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mobile-testing
description: "Provides Detox end-to-end test patterns for mobile apps; use when writing mobile E2E tests or configuring Detox."
---

# Skill: Mobile Testing (Detox)

## When to load

When writing E2E tests for mobile or configuring Detox.

## Detox Test Pattern

```typescript
describe('Login flow', () => {
  beforeAll(async () => { await device.launchApp({ newInstance: true }); });
  beforeEach(async () => { await device.reloadReactNative(); });

  it('should login with valid credentials', async () => {
    await element(by.id('email-input')).typeText('test@example.com');
    await element(by.id('password-input')).typeText('password123');
    await element(by.id('login-button')).tap();

    await waitFor(element(by.id('home-screen')))
      .toBeVisible()
      .withTimeout(5000);
  });

  it('should show error for wrong password', async () => {
    await element(by.id('email-input')).typeText('test@example.com');
    await element(by.id('password-input')).typeText('wrongpassword');
    await element(by.id('login-button')).tap();

    await waitFor(element(by.id('error-message')))
      .toBeVisible()
      .withTimeout(3000);
  });
});
```

**Key**: Use `testID` prop on elements for reliable Detox selection. Never rely on text content alone.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.