Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

no-node-access false-positive warning on object property with select name #1032

Copy link
Copy link
Open
@AlexKrupko

Description

@AlexKrupko
Issue body actions

Have you read the Troubleshooting section?

Yes

Plugin version

v7.5.3

ESLint version

v9.29.0

Node.js version

v23.7.0

Bug description

After upgrading to version 7.5.3, the no-node-access warning appears on object property with select name

Steps to reproduce

const ui = {
    select: selector.byRole('combobox', {name: 'Test label'}),
};

test('...', () => {
    // ......
    const select = ui.select.get();
    expect(select).toBeVisible();
    expect(select).toHaveClass(selectClasses.select);
});

Both ui.select.get() and selectClasses.select are warned.

Error output/screenshots

No response

ESLint configuration

--

Rule(s) affected

no-node-access

Anything else?

No response

Do you want to submit a pull request to fix this bug?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workingtriagePending to be triaged by a maintainerPending to be triaged by a maintainer

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.