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

If an element is not found the test hangs #47

Closed
sswaroopgupta opened this issue Jul 16, 2018 · 1 comment
Closed

If an element is not found the test hangs #47

sswaroopgupta opened this issue Jul 16, 2018 · 1 comment

Comments

@sswaroopgupta
Copy link
Contributor

Expected behavior
It should timeout after sometime.

Steps to replicate

  • Create a file hangs.js
const { browser, openBrowser, goto, link, click, listItem } = require('taiko');

(async () => {
    try {
        await openBrowser();
        await goto("http://google.com");
        await click('Somethin')
    } catch (e) {
        console.error(e);
    } finally {
        closeBrowser();
    }
})();
  • run the test taiko hangs.js

The element is not found and the test hangs

Version

Version: 0.0.9 (HeadlessChrome/69.0.3452.0)

Blocks #29

@NivedhaSenthil
Copy link
Member

Fix should be available in commit

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

No branches or pull requests

2 participants