Comments (4)
That's strange. So when does test fails? At the last 'see' command? I have no idea right now.
Maybe problem is with a markup on page?
Also, you don't need to add
$I->amOnPage('/user/index/password-recovery');
you are already on that page..
from codeception.
I've check it again, and now the problem is in:
$I = new WebGuy($scenario);
$I->wantTo('register new user');
$I->amOnPage('/user/register');
$I->fillField('username','[email protected]');
$I->fillField('password','TheSandals');
$I->fillField('password_confirmation','TheSandals');
$I->click('Sign In!');
$I->see('You have registered succesfuly. You can login now.');
$I->seeInDatabase('acluser', array('email' => '[email protected]'));
on
$I->click('Sign In!');
the markup is very simple, should not be a problem. Based on Twitter Bootstrap. Any idea how to check/solve this?
from codeception.
Ok, seems like the problem is with "!" char.
Before I actually fix it you can use CSS selectors to locate the "Sign in!" button in your test.
from codeception.
Sorry for taking so long.
This exception should be never thrown in upcoming release.
But the stacktrace shows this element was not found by text and parser searched for it as CSS selector.
Check for case-sensitivity matches of text.
from codeception.
Related Issues (20)
- I am unable to upgrade Codeception from 4.2 to 5.0+ HOT 1
- Out of memory issue with PHPUnit 10.4.1 HOT 4
- Code coverage stopped working after upgrading 4 to 5 HOT 5
- update actions ver
- Output messages don't make sense HOT 4
- Try-catch in the second test catches fail in the first test HOT 6
- Call to srand() with non-int fails with PHP < 8.3
- unit test case error on container HOT 2
- No way to run invividual tests in groups
- Providing null data with Examples annotation fails HOT 3
- skip_cleanup_if_failed documentation HOT 1
- Support phpunit 11 HOT 1
- "No primary site exists" only when running unit tests - Craft 4 Pro. No issues with functional and acceptance tests in same environment HOT 4
- Using Symfony 7 Clock ClockSensitiveTrait causes a LogicException HOT 2
- Future of Codeception? HOT 4
- Can I change the format of the exception display? HOT 2
- coverage: whitelist: exclude option has no effect since PHPUnit 11.0 HOT 10
- Running with --no-ansi still uses color HOT 1
- Codeception 5 + Symfony 6 HOT 2
- Run build command without bootstrap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeception.