question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testcafe breaks certain syntactic pattern

See original GitHub issue

Are you requesting a feature or reporting a bug?

bug

What is the current behavior?

Testcafe seems to break code with certain syntactic patterns in it.

How would you reproduce the current behavior (if this is a bug)?

test this code with any (even empty) test

const x = 'a';
const y = {
    async [x]() {
        await 0;
    },
}[x];

Specify your

  • operating system: Ubuntu 16.04
  • testcafe version: 0.22.0
  • node.js version: 10.9.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mixturcommented, Oct 11, 2018

Yes that is what I am seeing too.

0reactions
lock[bot]commented, Mar 28, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

.withText() | Selector Object | Test API | API | Docs - TestCafe
Syntax. withText(text). Selector().withText(text) → Selector ... TestCafe resolves the search pattern and looks for all elements that match it.
Read more >
testcafe/CHANGELOG.md at master · DevExpress ... - GitHub
In some environments, TestCafe cannot take screenshots when the test runs in a ... To indicate the breaking change, we will increment the...
Read more >
TestCafe Tutorial: How To Select Page Elements Using ...
In this TestCafe tutorial you will learn how to use TestCafe Selectors for selecting elements on the web page.
Read more >
gherkin-testcafe - npm
Run TestCafé tests with the Gherkin syntax. Latest version: 5.5.1, last published: a day ago. Start using gherkin-testcafe in your project ...
Read more >
Functional Testing of Web Applications using TestCafe and ...
Comparison of TestCafe and NightWatch, two popular function test ... can break existing use-case scenarios and stability in some browsers.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found