in source/console/src/Components/Details/Details.js [223:234]
async handleDownload() {
try {
const { testId } = this.state.testId;
const { testType } = this.state.data;
let filename = this.state.data.fileType === 'zip' ? `${testId}.zip` : `${testId}.jmx`
const url = await Storage.get(`test-scenarios/${testType}/${filename}`, { expires: 10 });
window.open(url, '_blank');
} catch (error) {
console.error('Error', error);
}
}