This is my original code that worked:
waitForKeyElements ("[data-test-id=folder-list] > ul > li > div > a > span:nth-child(2) > div > [d