Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

BlogPageCest test fails #458

@sankaest

Description

@sankaest

What steps will reproduce the problem?

  1. composer install/update
  2. ./yii fixture/add 20
  3. dev-tool/dev/demo$ vendor/bin/codecept run

What is the expected result?

✔ BlogPageCest: Blog page works.

What do you get instead?

✖ BlogPageCest: Blog page works.
BlogPageCest test fails, if DB is filled with any sample data (eg, during istallation: ./yii fixture/add 20).

Additional info (from terminal)

There was 1 failure:

  1. BlogPageCest: Blog page works.
    Test tests/Acceptance/BlogPageCest.php:testBlogPage
    Step Am on page "/signup"
    Fail Failed asserting that on page /blog
    --> Yii Demo - Blog Yii Demo Blog Comments Feed Users Contact Swagger Language English Русский Login Signup Blog Showing 3 out of 22 posts Rem in et aut aut earum cumque. May, 27 by Federico6643And he got up and throw us, with the bread-knife.' The March Hare interrupted, yawning. 'I'm getting tired of
    [Content too long to display. See complete response in '.../dev/demo/runtime/tests/_output/' directory]
    --> contains "No records".
Q A
Version dev
PHP version PHP 8.0.16
Operating system Ubuntu 20.04

Need also more research, why we see failure: Step Am on page "/signup", despite in file BlogPageCest.php in function _before() we have: $I->amOnPage('/blog');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions