-
-
Notifications
You must be signed in to change notification settings - Fork 747
Closed
Labels
Description
There is an issue with the within()
block
Although I end the within block after executing one function, the test runner still sees the within
as active.
Here an example:
within(resourcesPage.resourcesList.tileItem.firstTile.css, () => {
I.click(resourcesPage.resourcesList.tileItem.editBtn.css);
});
I.waitForVisible(resourcesPage.newResourceWidget.main, 5);
I.fillField(resourcesPage.newResourceWidget.resourceInput, 'New-Name');
and then the output:
15) Within #resources >:nth-child(1): I.fillField({"css":"#resource_name"}, "New-Name")
14) Within #resources >:nth-child(1): I.waitForVisible({"css":".fancybox-opened"}, 5)
13) Within #resources >:nth-child(1): I.click(".tile-list-item-actions a[title="Edit"]")
It should only be within in the line 13)