I haven’t used WDIO in ages and couldn’t find a nice way to get the table element, so I just added a testid to save me the grief. I tried pushing the code to your repo but it must have access locked down.
What @a_mcanirn has suggested is a good place to start @kelly.kenyon. Any issues though, let me know and I’ll see how I can help now that I am back from break
The issue you are having appears to be around getting the table element for checking if 2 rows exist.
You could either update your locator or implement the test id option I mention above. The link above is for your repo and should take you to line 30 of mot-cert-support-app-js/blob/main/src/components/ProjectList.js. Update that line to <ul className="list-group" data-testid=" and you can then use the locator $$('ul[data-testid="project-table.