The global coffeehouse chain was accused of breaching its duty of care after its staff did not fully push the drink into its takeaway tray.