This usuario.get(3) get from database the string "202019" but on the screen I get only 19.
Assert.assertEquals(usuario.get(3), pedidoPage.obterCicloConsultora(driver));
I want remove "2020" to make my assertion works.
Please, help me !!! Thank you !!!
You can use
Assert.assertEquals(usuario.get(3).substring(4), pedidoPage.obterCicloConsultora(driver));