Skip to content

[bug] AcceptanceCest Test output overwrites each other #1075

Closed

Description

@laurencei

I have a number of Acceptance Cest - like this:

use \AcceptanceTester;

class FrontCest
{
    public function tryToLoadHomePage(AcceptanceTester $i)
    {
        // do stuff
    }


    public function tryToLoadPrivacyPolicy(AcceptanceTester $i)
    {
        // do stuff
    }


    public function tryToLoadLegalTerms(AcceptanceTester $i)
    {
        // do stuff
    }
}

In Codecept 1.x - it would give me an output html file for each Cest that fails as its own .html file - like

FrontCest.tryToLoadHomePage.debug.html
FrontCest.tryToLoadPrivacyPolicy.debug.html

But in Codeception 2.x it is overwriting the file names as only one file name for the class, regardless of which/how many functions fail inside:

FrontCest.php.page.debug.html

This means I can only actually look at the last error in each Cest, since previous ones are overwritten.

Activity

  1. DavertMik commented on Jun 9, 2014

    @DavertMik
    Member

    Thanks. Looks pretty important

  2. laurencei commented on Jun 22, 2014

    @laurencei
    Author

    This seems to be fixed in 2.0.1?

  3. DavertMik commented on Jun 24, 2014

    @DavertMik
    Member

    Yep. Should be )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions