@quyle You can use the style method on the assertSeeIn or assertMissing in Dusk to test the background-image of an element.
You can use the CSS selector of the element to target it and then use the style method to check if the background-image property has the expected value.
Thanks for your reply.
I've tried both and the assertSourceHas worked but assertSeeIn did not as it only received 2 params while in your example there are 3.