Giter VIP home page Giter VIP logo

Comments (4)

DavertMik avatar DavertMik commented on May 20, 2024

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.

bartoszrychlicki avatar bartoszrychlicki commented on May 20, 2024

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.

DavertMik avatar DavertMik commented on May 20, 2024

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.

DavertMik avatar DavertMik commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.