added sleep for 1ms to view popup in feature test --Ravi