Ticket integration test (polling in JS)