Open
Description
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