Uh oh!
There was an error while loading. Please reload this page.
Organise a11y queries by predicate - #977
Conversation
89a6c26 to
966ecaaCompareMattAgn
commented
May 14, 2022
Hi @mdjastrzebski, I'm mostly done with this PR, just got a couple questions for you:
|
966ecaa to
527be85Compare
mdjastrzebski
left a comment
There was a problem hiding this comment.
Great job @MattAgn! This is exactly what I was looking for! 💯
There are some small missing parts like aliased exports, please check comments.
Re moving matchString, etc to helpers: I think it's a good idea. I'd suggest helpers/machers.ts or similar for that purpose.
Re re-organizing tests a bit: I would suggest doing it in a separate PR, in order to reduce change surface area. This PR should just split existing tests into separate files without modifications. You're welcome re-organise them a little bit more in the follow-up PR :-)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MattAgn
commented
May 19, 2022
Thanks! Re moving Re re-organizing tests a bit: sure I'll do that :) |
mdjastrzebski
commented
Jun 2, 2022
@MattAgn let me know if you need any help with this PR. |
MattAgn
commented
Jun 4, 2022
@mdjastrzebski sure thanks! for now I'm good, sorry I did not have much time to work on it the past 2 weeks, but I have some time this weekend. I'll let you know how it goes :) |
527be85 to
24f5259Compare24f5259 to
5c92cb5Comparemdjastrzebski
commented
Jul 19, 2022
Weird stuff tests work fine on my local machine but timeout on CI. |
thymikee
commented
Jul 19, 2022
@mdjastrzebski Try increasing the timeout then |
mdjastrzebski
commented
Jul 20, 2022
@thymikee actually is not ma matter of timeout, I've tried to increase that but this is not the cause. Normally tests run around 1,5 minutes (other PR runs checked in Circle CI), but for this particular PR they run most of the tests (but not all) and then Jest gets stuck, no output, etc. It will wait till Circle CI no output limit and then timeout after 10 minutes or so. |
thymikee
left a comment
There was a problem hiding this comment.
Awesome work @MattAgn and @mdjastrzebski 🚀
MattAgn
commented
Jul 20, 2022
@mdjastrzebski thanks for the finishing touches! :) |
Summary
This PR aims to continue solving this issue by using makeQueries for all a11yQueries.
Tasks:
Warning
Test plan
No tests should be added since the API does not change, they only need to be moved to be grouped by predicate type