mcpbeat Sign in

Engine E2e Agent Skill

by wix

Run Wix Engine (mobile-apps-engine) iOS E2E tests locally to validate RNN changes. Use when you need to test RNN fixes against the Engine's Detox test suite.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
13178
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/wix/react-native-navigation --skill engine-e2e

The instruction itself

11 sections, as written by the author

Running Engine E2E Tests Against Local RNN Changes

The Engine app (@wix/wix-one-app-engine) in ~/Documents/mobile-apps-engine consumes RNN

from node_modules/react-native-navigation. To test RNN changes against the Engine's E2E

suite, you patch the Engine's copy of RNN, rebuild the native binary, and run the tests.

Prerequisites

  • Node via nvm (nvm use default)
  • The CI env var must be unset (not 0, fully unset) to avoid CI-specific codepaths.

Use env -u CI before every command.

  • The Engine repo at ~/Documents/mobile-apps-engine with yarn install already done.

Step 1: Patch RNN in Engine's node_modules

Apply your RNN source changes to the corresponding files under:

~/Documents/mobile-apps-engine/node_modules/react-native-navigation/ios/

The directory structure mirrors the RNN repo's ios/ folder exactly.

Step 2: Rebuild the iOS Native Binary

cd ~/Documents/mobile-apps-engine
unset PREFIX && . ~/.nvm/nvm.sh > /dev/null && nvm use default > /dev/null
env -u CI yarn workspace @wix/mobile-apps-engine-native-builds build-local-ios

This runs xcodebuild with -quiet flag — expect no output until it finishes.

Takes ~10-15 minutes on M-series Macs.

The build output (.app bundle) lands in:

packages/native/mobile-apps-engine-native-builds/dist/binaries.json

Troubleshooting Build

  • Keychain error (SecKeychainUnlock): The CI env var is set. Use env -u CI.
  • Signing errors: Expected for local builds — the script handles ad-hoc signing.

Step 3: Build JS Bundles (first time only)

These are needed once per checkout. Skip if already built.

env -u CI yarn workspace @wix/mobile-apps-engine-extra-bundle local:build
env -u CI yarn workspace @wix/mobile-apps-dependencies local:build

Step 4: Run E2E Tests

cd ~/Documents/mobile-apps-engine
unset PREFIX && . ~/.nvm/nvm.sh > /dev/null && nvm use default > /dev/null
env -u CI yarn workspace @wix/wix-one-app-engine test:e2e:ios -w d <suite_files...>

The -w d flag selects the Detox worker count.

Specific suites relevant to RNN

| Suite file | What it tests |

|-----------|---------------|

| e2e/suites/ExternalLinks.test.js | Deep link navigation, back button |

| e2e/suites/ExternalLinksModes.test.js | Deep link modes (pop to root, tab switch) |

| e2e/suites/ExternalLinksPushNotifications.test.js | Push notification deep links |

| e2e/suites/ExtenalLinksWithSiteSelect.test.js | Deep links with site selection |

| e2e/suites/EngineUIComponents.test.js | Error screen, UI components |

| e2e/suites/LaunchArgs.test.js | Launch arguments |

| e2e/suites/LazyModules.test.js | Lazy-loaded modules |

env -u CI yarn workspace @wix/wix-one-app-engine test:e2e:ios -w d \
  e2e/suites/ExternalLinks.test.js \
  e2e/suites/ExternalLinksModes.test.js \
  e2e/suites/ExternalLinksPushNotifications.test.js

Troubleshooting Tests

  • Error: No dist version found: The native build hasn't run or failed.

Run step 2 again.

  • Cannot find module .../mobile-apps-engine-extra-bundle/index.js:

Run step 3 (local:build for extra-bundle).

  • ENOENT .../metadata.json: Run step 3 (local:build for mobile-apps-dependencies).
  • Unable to resolve module @rozenite/...: The Rozenite plugin import is broken.

Patch packages/wix-one-app-engine/src/rozenitePlugin/helper/rozenite-network-inspector.ts

to make the import optional with a no-op fallback.

  • Tests time out on navigateBack(): The navigateBack() helper taps

element(by.id('pop')) on iOS. This relies on RNN's setBackButtonTestID working

correctly. If the back button's view hierarchy changed (e.g., iOS 26 Liquid Glass),

the testID isn't applied and the element can't be found.

Key Engine Files

| File | Purpose |

|------|---------|

| packages/wix-one-app-engine/e2e/helpers/utils.js | Test helpers including navigateBack() |

| packages/wix-one-app-engine/demo-modules/deep-links/module.js | Deep link route definitions |

| packages/wix-one-app-engine/demo-modules/deep-links/Screens.js | Deep link screen components |

| packages/wix-one-app-engine/internalScripts/test-e2e.js | E2E test runner script |

| packages/native/mobile-apps-engine-native-builds/local_build_scripts/build_ios.js | Local iOS build script |

Other skills for the same job

different authors, same section of the catalogue
Webapp Testing
by anthropics
vendor ×12

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

6k tokens scripts
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
Test Driven Development
by w95
×7

Use when implementing any feature or bugfix, before writing implementation code

2k tokens
Systematic Debugging
by ratacat
×7

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

10k tokens scripts
Verification Before Completion
by ZhanlinCui
×6

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

1k tokens
Backtest Expert
by BaggaT236
×3

Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.

15k tokens scripts
Adaptyv
by christophacham
×3

Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein sequence optimization. Also use for submitting experiments via API, tracking experiment status, downloading results, optimizing protein sequences for better expression using computational tools (NetSolP, SoluProt, SolubleMPNN, ESM), or managing protein design workflows with wet-lab validation.

16k tokens
Aeon
by christophacham
×3

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.

19k tokens

How to use it

Copy the folder

Take wix/engine-e2e from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.