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
PS C:\Users\a-san\Git_Stuff\ultra-api-tests> node runDeviceFarmTest.js | |
The unique identifier for this run is going to be "2021-09-22T20-01-07_181Z-q98vnjf71jorrsvk1485s0w5w0550qdmeoabjjoitf" -- all uploads will be prefixed with this. | |
C:/Users/a-san/Ultranauts_Stuff/1.6.0-69-debug.apk exists | |
Request completed with response from AWS | |
arn:aws:devicefarm:us-west-2:931047064772:upload:dba28663-6087-40d4-a21c-4a8b9fc7f50d/597a541d-8d5c-4540-b0b9-7c6432e37dd8 | |
Uploading C:/Users/a-san/Ultranauts_Stuff/1.6.0-69-debug.apk to Device Farm as 2021-09-22T20-01-07_181Z-q98vnjf71jorrsvk1485s0w5w0550qdmeoabjjoitf_1.6.0-69-debug.apk... | |
Sending PUT request to https://prod-us-west-2-uploads.s3-us-west-2.amazonaws.com/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A931047064772%3Aproject%3Adba28663-6087-40d4-a21c-4a8b9fc7f50d/uploads/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A931047064772%3Aupload%3Adba28663-6087-40d4-a21c-4a8b9fc7f50d/597a541d-8d5c-4540-b0b9-7c6432e37dd8/GoodLeapTest-2021-09-22T20-01-07_181Z-q98vnjf71jorrsvk1485s0w5w0550qdmeoabjj |
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
// Upload the necessary files to AWS Device Farm | |
const fs = require('fs'); | |
const devicefarm = require('./devicefarm'); | |
const util = require('./utility'); | |
const https = require('https'); | |
require('colors'); | |
// Invoke the API to save the data | |
exports.uploadFile = async (filename, type) => { | |
return await new Promise((resolve, error) => { // Open the file that is being uploaded |
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
2021-08-16 01:14:43:315 - [35m[Appium][39m Welcome to Appium v1.19.0 | |
2021-08-16 01:14:43:322 - [35m[Appium][39m Non-default server args: | |
2021-08-16 01:14:43:324 - [35m[Appium][39m address: 127.0.0.1 | |
2021-08-16 01:14:43:324 - [35m[Appium][39m logTimestamp: true | |
2021-08-16 01:14:43:325 - [35m[Appium][39m defaultCapabilities: { | |
2021-08-16 01:14:43:325 - [35m[Appium][39m usePrebuiltWDA: true | |
2021-08-16 01:14:43:326 - [35m[Appium][39m derivedDataPath: /tmp/scratchpRNFzc.scratch/DerivedDataNkbwZR | |
2021-08-16 01:14:43:327 - [35m[Appium][39m deviceName: 00008101-000431921AC0001E | |
2021-08-16 01:14:43:327 - [35m[Appium][39m platformName: iOS | |
2021-08-16 01:14:43:328 - [35m[Appium][39m app: /tmp/scratchpRNFzc.scratch/share-8tldIh.scratch/app-JRvANZ.ipa |
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
[DEVICEFARM] Setting up your device. This usually takes 2-3 minutes. | |
[DEVICEFARM] ########### Start executing testspec ########### | |
[DEVICEFARM] ########### Entering phase install ########### | |
[DeviceFarm] export APPIUM_VERSION=1.19.0 | |
[DeviceFarm] avm $APPIUM_VERSION | |
[36m exists[0m : [90m1.19.0[0m | |
[DeviceFarm] ln -s /usr/local/avm/versions/$APPIUM_VERSION/node_modules/.bin/appium /usr/local/avm/versions/$APPIUM_VERSION/node_modules/appium/bin/appium.js |