cy.wait('@getIndv').then((intercept) => {
let tableValues = [];
const indvRespJson = countValues(intercept.response.body.customerData.customerBaseData);
const responseJson = Object.values(intercept.response.body.customerData.customerBaseData);
cy.get('.ng-tns-c90-17').find('.label-container').find('[id]').each((ids) => {
tableValues.push(ids.text());
});
cy.get('.ng-tns-c90-17').find('[id]').find('.label-container > .label-container__value').each((ids) => {
tableValues.push(ids.text());
});
for(const value in tableValues){
cy.log(value);
}
});