[Luiza, Vivi] Refactoring functional tests for poll flow