[UI tests] Run canaries on a PR and optionally full suite#2137
[UI tests] Run canaries on a PR and optionally full suite#2137
Conversation
|
Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job! |
|
@Stojdza There's a lot of repetition between the canary and full jobs in the CircleCI config. What do you think of using a more DRY approach with a single device test job per platform, using a parameter to determine whether it's a full run or just canaries? That way, for example, we could have a single (Sorry for the delay looking at this; I didn't realize until recently that it was still open and waiting for review.) |
|
Also, do you know why |
|
Thanks for looking into this @rachelmcr. It's never too late 😄
I agree! I know back then it was easier just to copy and paste, and test jobs. Later I forgot to solve it properly. I can take a look at it later this week if that works?
Yes. If you take a look here, under Require status checks to pass before merging, you'll notice that
|
Works for me, thank you! Let me know if you can't fit it in with the other things you're working on now and I can take a look.
Ah yeah, thanks for confirming! I saw that the first time I read the description but overlooked it when I reread it for this review. :) |
|
@rachelmcr I added agreed changes. Let me know what do you think. Tests are running as expected - only three tests as canaries and full suite upon approval. |
rachelmcr
left a comment
There was a problem hiding this comment.
Looks great! Thanks for making that change. ![]()
|
Thanks for the ping @Stojdza, I made the change and now PRs against develop will only require the Canaries, not the full device testsuite. Also, can you update the PR description to mention that the full suite will indeed run anyway, based on a schedule? Thanks! |
|
Thanks @hypest! I updated PR description. |
In this PR I added a couple of options to make test runs more stable.
@canarywill be part of these. Name of these jobs are Test Android on Device - Canaries and Test iOS on Device - Canaries and they are mandatory for every PR. I marked three tests with the@canaryand we can change that and choose other tests if needed. @hypest once this PR is approved and ready to merge, we should change required jobs fordevelopbranch - canaries should be marked as required andTest Android/iOS on Deviceshould be unchecked.develop, per schedule [UI tests] Schedule runs for full UI tests suite #2115Too long with no output (exceeded 10m0s): context deadline exceeded. This is happening because some tests are taking too long (more than 10m) without any output during execution, and CircleCI job will fail. I increased the timeout to 20m to reduce noise.To test:
PR submission checklist:
RELEASE-NOTES.txtif necessary.