Dealing with cypress to execute a python script in another directory. However, it seems like the directory change is not functioning as expected.
visitPythonProject() {
cy.exec("cd /Users/**/Desktop/project/");
cy.exec("ls"); // this command does not show the updated files in project
cy.reload();
}