Skip to content

waitUrlEquals fails on a false-positive #2078

@neutraali

Description

@neutraali

Problem: waitUrlEquals triggers an error even though the assertion should pass.

Code:

Scenario('navigation & routing', async function(I) {
	I.amOnPage('http://localhost:8080');
	I.click('Buttons', '.side-panel');
	I.waitUrlEquals('/buttons/single', 2); // <<< ERROR
});

Result:

-- FAILURES:
  1) Example test
	navigation & routing:
	expected url to be http://localhost:8080/ui/buttons/single, but found:
	http://localhost:8080/ui/buttons/single

Is there something I'm doing wrong or is this just a plain bug 🪲 ?

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