You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MyBasePage.php 276B

1 vuosi sitten
1234567891011121314151617
  1. <?php
  2. namespace tests\codeception\common\_pages;
  3. use yii\codeception\BasePage;
  4. class MyBasePage extends BasePage
  5. {
  6. public static function openBy($I, $params = [])
  7. {
  8. $page = new static($I);
  9. $I->amOnPage($page->route);
  10. return $page;
  11. }
  12. }