Run NodeJS Tests in AWS Device Farm (Appium, Android)

แชร์
ฝัง

ความคิดเห็น • 11

  • @MarkAustin-z5o
    @MarkAustin-z5o 11 วันที่ผ่านมา +1

    Great. All working with my own tests. Very useful video. Thanks.

    • @errorfarm
      @errorfarm  5 วันที่ผ่านมา

      Glad it helped!

  • @mr_possible6197
    @mr_possible6197 3 หลายเดือนก่อน

    Can't we get the package or the apk from code pipeline artifacts once we design a build pipeline for our test automation framework ? Sorry if the question is silly, as I am new to Appium. Nice video by the way

    • @errorfarm
      @errorfarm  3 หลายเดือนก่อน +1

      Yes we can. Here's more info about that: docs.aws.amazon.com/devicefarm/latest/developerguide/codepipeline.html

    • @nitinpunyani6001
      @nitinpunyani6001 2 หลายเดือนก่อน

      I am facing issue when i run the code on aws device farm
      Continue...
      2024-04-23T11:54:58.539Z WARN @wdio/config:ConfigParser: pattern ./test/specs/test.e2e.ts did not match any file
      2024-04-23T11:54:58.539Z ERROR @wdio/cli:launcher: No specs found to run, exiting with failure
      2024-04-23T11:54:58.540Z INFO @wdio/cli:launcher: Run onComplete hook
      Spec Files: 0 passed, 0 total (0% completed) in 00:00:04

    • @errorfarm
      @errorfarm  2 หลายเดือนก่อน

      @@nitinpunyani6001 This is either wdio configuration issue or the npm bundle does not contain the test files. Check:
      1. the configuration that ./test/specs/test.e2e.ts is the correct path and
      2. check what is inside the npm bundle that test.e2e.ts is there.

    • @nitinpunyani6001
      @nitinpunyani6001 2 หลายเดือนก่อน

      ​@@errorfarm When i run the npm-bundle command after that i am facing this issue:
      ```````
      PS D:\MobileAutomationDeviceFarm
      ode-device-farm> npm-bundle
      C:\Users\pc1\AppData\Roaming
      vm\v18.20.2
      ode_modules
      pm-bundle\bin\cli.js:11
      throw error
      ^
      [Error: ENOENT: no such file or directory, open 'D:\MobileAutomationDeviceFarm
      ode-device-farm\.npmbundle
      ode_modules\device-farm\package.json'] {
      errno: -4058,
      code: 'ENOENT',
      syscall: 'open',
      path: 'D:\\MobileAutomationDeviceFarm\
      ode-device-farm\\.npmbundle\
      ode_modules\\device-farm\\package.json'
      }
      Node.js v18.20.2
      ``````

    • @nitinpunyani6001
      @nitinpunyani6001 2 หลายเดือนก่อน

      Please tell me what will be the soultion?