Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): fix Operation not supported on socket #157

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Conversation

Almouro
Copy link
Member

@Almouro Almouro commented Oct 3, 2023

Fixes #148

Can reproduce the bug after upgrading to Sonoma 14.0, but somehow not before 🤔 haven't verified in dept, I prefered to completely simplify the logic here and that fixes the bug.
This brings us another fix: adding && in testCommand now works (like `--testCommand "sleep 5 && adb shell am start com.example/.MainActivity" for instance)

One caveat is we lose the nice Maestro formatting, but I think that's an acceptable loss, given that it was always clearing the terminal on each iteration anyway Now we have the same output as using maestro with --no-ansi

This is what it looks like now:
image

@netlify
Copy link

netlify bot commented Oct 3, 2023

Deploy Preview for flashlight-docs canceled.

Name Link
🔨 Latest commit 7f3de8c
🔍 Latest deploy log https://app.netlify.com/sites/flashlight-docs/deploys/651bd01111692a0008150ada

We completely simplify the logic here.
This brings us another fix: adding `&&` in `testCommand` now works (like `--testCommand "sleep 5 && adb shell am start com.example/.MainActivity" for instance)

One caveat is we lose the nice Maestro formatting, but I think that's an acceptable loss, given that it was always clearing the terminal on each iteration anyway
Now we have the same output as using `maestro` with `--no-ansi`
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Flashlight iOS Report 🔦

@flashlight-bot
Copy link
Contributor

Flashlight Automated Report 🔦

@Almouro Almouro merged commit 9476fdd into main Oct 3, 2023
7 checks passed
@Almouro Almouro deleted the fix/exec-async branch October 3, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error while running through CLI
3 participants