We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Click a button that is a Web Component
The t.click action does nothing
The t.click action leads to the same result as the document.querySelector(...).click() client-side script
document.querySelector(...).click()
import { Selector } from 'testcafe'; fixture `web component` .page `https://xy-ui.codelabo.cn/docs/#/xy-button`; test('New Test', async t => { await t .click(Selector('p').withText('toggle button').find('.button-toggle')) .wait(1000) .expect(Selector('p').withText('toggle button').find('.button-toggle').checked).eql(true); });
The text was updated successfully, but these errors were encountered:
fixed in #2262 should close this issue after HH is published
Sorry, something went wrong.
Fixed in testcafe-hammerhead 16.2.3
16.2.3
AlexKamaev
No branches or pull requests
What is your Test Scenario?
Click a button that is a Web Component
What is the Current behavior?
The t.click action does nothing
What is the Expected behavior?
The t.click action leads to the same result as the
document.querySelector(...).click()
client-side scriptWhat is your web application and your TestCafe test code?
Steps to Reproduce:
Your Environment details:
The text was updated successfully, but these errors were encountered: