Open s-light opened 2 months ago
thanks Alex for your work!! just found it and your ideas discussions in the orig. thread and your package here helped me a lot!!!
this featurerequest is for getRowByText('John Smith'): just a shorthand / alias for getByRole('row', { name: 'John Smith' }) as mentioned by kealjones-wk at https://github.com/testing-library/dom-testing-library/issues/583#issuecomment-992999990
getRowByText('John Smith')
getByRole('row', { name: 'John Smith' })
this original verbose version is working fine for me - and i would love to have easy (for newbies) readable tests ;-)
i think this is different from getRowByFirstCellText('John Smith') as i have a bunch of action columns as first columns (prepending my real data-columns)
getRowByFirstCellText('John Smith')
thanks Alex for your work!! just found it and your ideas discussions in the orig. thread and your package here helped me a lot!!!
this featurerequest is for
getRowByText('John Smith')
: just a shorthand / alias forgetByRole('row', { name: 'John Smith' })
as mentioned by kealjones-wk at https://github.com/testing-library/dom-testing-library/issues/583#issuecomment-992999990this original verbose version is working fine for me - and i would love to have easy (for newbies) readable tests ;-)