For your own learning now that you know this works, you could try changing xpath=//a[text()="Accept all cookies"]
to use the css or text selectors and also change ‘Click Element’ with Click Link
and see if you can get those working?
Your probably urgent issue of getting the test working is done, but practicing different methods is a great way to learn, it will also help you with troubleshooting future issues you come across.
Dave.