the following code performs a click on Download button and that action downloads a file on the "client machine". Actualy the "client machine" is a docker - debian image that download chrome and runs test cafe 1.9.2.
public static async DownloadMonitor() {
await t.click(monitorDetailPageSelector.contextMenu)
await t.wait(WaitConfig.Waits.second)
await t.click(monitorDetailPageSelector.downloadButton)
await t.wait(WaitConfig.Waits.second)
return true;
}
After this test i want to verify that the file downloaded is .zip extension.
Problems that i have
I do not know the download folder on the client machine.
Aucun commentaire:
Enregistrer un commentaire