-
Notifications
You must be signed in to change notification settings - Fork 7
feat(execute-driver): add execute driver script plugin #73
Conversation
jlipps
commented
Nov 17, 2021
- this plugin is being ported from base driver
- also: use process.env.APPIUM_HOME for tests now since it's an env var
- also: clean up tsconfig stuff a bit
- also: use @appium/fake-driver instead of appium-fake-driver
- also: add clean:tsc script to remove build dirs
cc61086
to
5966622
Compare
5966622
to
16004cf
Compare
CI will fail until appium/appium#16137 is merged and published |
perhaps I should do the thing I did to |
Linking appium/appium#15973 |
16004cf
to
89b507a
Compare
OK @mykola-mokhnach @boneskull made a bunch of updates here, including using vm2 in place of vm. Someone should double check this though. It works but that doesn't mean I did it right. |
89b507a
to
143b7aa
Compare
143b7aa
to
7fe8631
Compare
(this plugin is being ported from base driver) - also: use process.env.APPIUM_HOME for tests now since it's an env var - also: clean up tsconfig stuff a bit - also: use @appium/fake-driver instead of appium-fake-driver - also: add clean:tsc script to remove build dirs
4c221ff
to
be3a649
Compare
well, CI is now broken because of opencv4nodejs. i've attempted to debug the issue. i'm guessing that an NPM update changed node modules layout and a package internal to opencv4nodejs is relying on a certain directory structure. i can't figure out how to see full logs from the workflow (the npm output isn't showing the logging that should be coming from opencv4nodejs's install scripts). that might help. but sadly opencv4nodejs is not maintained so it may be impossible to fix. ugh. |
@jlipps Could you please try with the fork of opencv4nodejs mentioned by @UrielCh in justadudewhohacks/opencv4nodejs#762 (comment) ? |
be3a649
to
1fda9c7
Compare
ok, giving it a go |
nope, it's actually imported from appium-support. i wonder if we should move it to the images plugin? anyway, https://github.com/appium/appium/pull/16327/files |
1fda9c7
to
db9976e
Compare
ok pulled in appium support changes, let's see what happens. |
db9976e
to
787f748
Compare
@mykola-mokhnach looks like this package doesn't work. It also doesn't install on my machine even with the m1-specific flags enabled. https://github.com/appium/appium-plugins/runs/4782669773?check_suite_focus=true |
Thanks for trying it @jlipps |
The forked repo doesn't appear to have the issue tracker enabled. @UrielCh are you at all open to helping us troubleshoot this opencv4nodejs installation in GitHub Actions CI? (I get the same error on my local machine). Have tried with opencv version set to latest 3.x as well as latest 4.x. |
I assume that compilation error happens because of https://answers.opencv.org/question/212650/opencv-sift-surf/ |
Running with |
ofc, will try it on the weekend |
@jlipps I have managed it to work on my Intel mac.
|
Btw many thanks to @KeitelDOG for the detailed description of the building process. It helped me a lot. |
OK, this PR now includes a change where the images plugin depends on |
a298559
to
37cc12e
Compare
yay, build passed! we can finally get the execute driver plugin merged, and publish an images plugin with no dependency on opencv4nodejs!!! |