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
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
@@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.
@@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 ``````
Great. All working with my own tests. Very useful video. Thanks.
Glad it helped!
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
Yes we can. Here's more info about that: docs.aws.amazon.com/devicefarm/latest/developerguide/codepipeline.html
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
@@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.
@@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
``````
Please tell me what will be the soultion?