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

Incorrect selector error text #3874

Closed
AlexanderMoiseev opened this issue Jun 7, 2019 · 1 comment
Closed

Incorrect selector error text #3874

AlexanderMoiseev opened this issue Jun 7, 2019 · 1 comment
Assignees
Labels
AREA: client STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug).
Milestone

Comments

@AlexanderMoiseev
Copy link
Contributor

AlexanderMoiseev commented Jun 7, 2019

What is your Test Scenario?

import { Selector } from 'testcafe';

fixture `Fixture`.page `github.com`;

test('test', async t => {
   await t
        .click(Selector('.some-non-existing-selector').find('svg').nth(0).with({ timeout: 1000 })
});

What is the Current behavior?

test error looks like

| Selector('.some-non-existing-selector'')
| .find('svg')
| .nth(0)
| .nth(0)

What is the Expected behavior?

test error should look like

| Selector('.some-non-existing-selector'')
| .find('svg')
| .nth(0)

Your Environment details:

  • testcafe version: 0.23.3
  • node.js version: v10.15.3
  • platform and version: Windows 10
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jun 7, 2019
@helen-dikareva helen-dikareva added AREA: client SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug). labels Jun 7, 2019
@helen-dikareva helen-dikareva added this to the Planned milestone Jun 7, 2019
@helen-dikareva helen-dikareva removed the STATE: Need response An issue that requires a response or attention from the team. label Jun 7, 2019
@AlexKamaev AlexKamaev self-assigned this Jun 11, 2019
@AlexKamaev AlexKamaev modified the milestones: Planned, Sprint #35 Jun 11, 2019
@lock
Copy link

lock bot commented Jun 27, 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.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Jun 27, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AREA: client STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

3 participants