To act in an immature or frivolous manner instead of performing important tasks or duties
They didn't complete the construction project because they were wasting time jolly assin around when they should've been focused on the job.