demo
demo copied to clipboard
BlogPageCest test fails
What steps will reproduce the problem?
- composer install/update
- ./yii fixture/add 20
- 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:
- 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');
https://github.com/yiisoft/demo/pull/461 doesn't fix the problem. The PR adds a command that just clears DB tables.
What is the error? The same?
What is the error? The same?
yes.