feat: add Digital.ai Testing device provider#262
Open
Arundoss-digitalai wants to merge 1 commit into
Open
Conversation
Adds Digital.ai Testing as a supported device provider, following the same pattern as BrowserStack and LambdaTest. - DigitalAiDeviceProvider: uploads app binary, creates Appium WebDriver session via Digital.ai cloud hub, reports test status via executeScript - DigitalAiConfig type added to DeviceConfig union - Registered digitalai in the provider switch - Fixture: syncTestDetails moved before device.close() — required because Digital.ai status sync uses executeScript on a live session - Docs and README updated
🦋 Changeset detectedLatest commit: c46c662 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Digital.ai Testing as a supported device provider in Appwright, alongside the existing BrowserStack and LambdaTest integrations.
Changes
src/providers/digitalai/index.ts—DigitalAiDeviceProviderimplementing theDeviceProviderinterface: app upload (local file or HTTP URL), Appium WebDriver session creation via Digital.ai cloud hub, and test status reporting viaexecuteScript("seetest:client.setReportStatus", ...)src/providers/digitalai/utils.ts—getAuthHeader()helper usingDIGITALAI_ACCESS_KEYsrc/providers/index.ts— registered"digitalai"in the provider switchsrc/types/index.ts— addedDigitalAiConfigtype and included it in theDeviceConfigunionsrc/fixture/index.ts— movedsyncTestDetailsbeforedevice.close(): required because Digital.ai status sync usesexecuteScripton a live WebDriver session; BrowserStack and LambdaTest are unaffected (they use REST with a storedsessionId)docs/config.md— documented provider and required env vars (DIGITALAI_ACCESS_KEY,DIGITALAI_CLOUD_SERVER)README.md— added Digital.ai to the provider list with a sample config snippetRequired environment variables
DIGITALAI_ACCESS_KEY— access key from the Digital.ai Testing portalDIGITALAI_CLOUD_SERVER— tenant URL, e.g.https://cloud.seetest.ioTesting