Skip to content

Latest commit

 

History

History
 
 

testing-dom__csv-table

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CSV and table recipe

Loads CSV file and checks HTML table to have the text content matching the loaded CSV records

Uses neat-csv to parse the loaded CSV text into records.

Tests

  • spec.js loads the CSV file using cy.readFile, parses the text into list of objects, then goes through the rows of the table element comparing cell text content to the records.

Table test