8000 `sendAjaxPostRequest` demands unnecessary `amOnPage` · Issue #5979 · Codeception/Codeception · GitHub
[go: up one dir, main page]

Skip to content
sendAjaxPostRequest demands unnecessary amOnPage #5979
Closed
@ThomasLandauer

Description

@ThomasLandauer

When I start a functional test with

$I->sendAjaxPostRequest(...);

...I'm getting the error message:

[LogicException] The page history is empty.

So I'm forced to add a $I->amOnPage($wherever); before it. However, since sendAjaxPostRequest() gets an url as argument, it doesn't make any difference whatever I put into amOnPage(). So I'm suggesting to remove this requirement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0