+const getVendor = () => { We should not have the whole vendor object there, better use the mock mechanism (based on the api spec) from t/cypress/plugins/mockData.js