well to be true i also dont like such doe duplication, but it is only in test scenarios, all business logic is in the page-objects. we can also eliminate this by using codeception environments feature, but i think that it is better to stay on codeception standard features to not mess things up and not make developers life harder. Anyway after this one merge i will raise question in separated issue in codeception repo or maybe in Yii2 repo with @DavertMik and other developers of course :)