Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

within() block does not end properly #79

Closed
fabioel opened this issue Mar 14, 2016 · 0 comments
Closed

within() block does not end properly #79

fabioel opened this issue Mar 14, 2016 · 0 comments
Labels

Comments

@fabioel
Copy link
Contributor

fabioel commented Mar 14, 2016

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants