For loop with if..else statement in cypress

Job ID: 32318059

Budget: $10 – $30 USD

I am trying to use For Loop in cypress to scan one column from the table and look for the desire text. Use If statement to compare the text and if found the match, go inside if statement and scan another column for same row and verify the text. If find the match, break the loop and pass the test else fail.
Related categories: JavaScript Test Automation Website Testing