https://cypress.io logo
You don't need to provide the path to the fixtures...
# help
f
You don't need to provide the path to the fixtures folder, just the filename. You can see the issue in the error message So
const fileName = 'bulkimei.csv'
s
Please help me out for
P
As it find the file but now showing that the data is not found
f
What's happening is you're opening the file in
cy.fixture()
and then passing that to
selectFile()
You don't need to do
cy.fixture()
beforehand Take another look at the examples and you should be good to go https://docs.cypress.io/api/commands/selectfile#Arguments
s
Thank you @fresh-doctor-14925 i did this with your help
6 Views