I use nighwatch to test a react app.
App CSS classes are like .myClass__4RFGCG
I'd like to test
browser.assert.visible(".myClass", "Testing if .myClass renders")
since from what I read regex are not supported, is there another way?
I use nighwatch to test a react app.
App CSS classes are like .myClass__4RFGCG
I'd like to test
browser.assert.visible(".myClass", "Testing if .myClass renders")
since from what I read regex are not supported, is there another way?