Closed ioanmo226 closed 2 years ago
@tomholub , @sosnovsky
@ioanmo226 we can try to run current test suite with isHeadless: true
to check that all tests pass with this flag.
And we'll also know if tests speed was increased.
If everything is ok then it'll be a nice improvement for CI test process.
The only downside I see for know - we won't be able to see screenshots of failed tests (but in this case we can temporarily remove isHeadless
flag for getting screenshots)
@sosnovsky As I checked from local, I tested 10 tests and those all passed with isHeadless: true
flag and speed indeed increased (1.5x i think)
We don't need to worry about this. App generates failed screenshots even though we have isHeadless: true
flag
The only downside I see for know - we won't be able to see screenshots of failed tests (but in this case we can temporarily remove isHeadless flag for getting screenshots)
We don't need to worry about this. App generates failed screenshots even though we have
isHeadless: true
flag
Oh, great! Then we definitely should try it on Semaphore
For these kind of improvements, if you two agree, you don't need my opinion :-)
isHeadless: true
decreases tests duration only locally, no improvements on Semaphore.
I think it might speed up CI speed(Maybe 1.5x-2x) if we set
isHeadless
totrue
only in semaphoreci. (I think we still need to see ui results in local as that's useful for debugging). Let me know your thoughts.https://appium.io/docs/en/writing-running-appium/caps/#:~:text=true%20or%20false-,isHeadless,-Set%20this%20capability