Skip to content

feat: test result upload to mobilenext.ai#147

Merged
gmegidish merged 19 commits into
mainfrom
feat/test-result-upload
May 26, 2026
Merged

feat: test result upload to mobilenext.ai#147
gmegidish merged 19 commits into
mainfrom
feat/test-result-upload

Conversation

@gmegidish
Copy link
Copy Markdown
Member

@gmegidish gmegidish commented May 22, 2026

Summary

  • Adds MobileNextTestResultConfig to DriverConfigMobileNext with uploadReport: 'on' | 'off' | 'on-failure', name, tags, and environment fields
  • defineConfig() auto-injects MobileNextUploadReporter and a JSON reporter when the mobilenext driver has testResult.uploadReport set (not 'off')
  • MobileNextUploadReporter tracks test failures during the run and in onEnd() copies JSON results and artifacts to a temp dir (stub — network upload to be implemented separately)

Usage

defineConfig({
  driver: {
    type: 'mobilenext',
    apiKey: process.env.MOBILENEXT_API_KEY,
    testResult: {
      uploadReport: 'on',          // or 'on-failure'
      name: 'Smoke suite',
      tags: ['nightly'],
      environment: 'staging',
    },
  },
});

gmegidish added 19 commits May 22, 2026 15:53
@gmegidish gmegidish merged commit eb8a91f into main May 26, 2026
6 checks passed
@gmegidish gmegidish deleted the feat/test-result-upload branch May 26, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant