mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACS-9187] [E2E] Fix XAT-5304 - file downloading is flaky (#4375)
* [ACS-9187] [E2E] Github Actions test run * [ACS-9187] added artifacts * [ACS-9187] Download fix1 for XAT-5304 * [ACS-9187] removed github artifacts
This commit is contained in:
parent
2093a7acc1
commit
b013818649
@ -1,3 +1 @@
|
||||
{
|
||||
"XAT-5304": "https://hyland.atlassian.net/browse/ACS-9187"
|
||||
}
|
||||
{}
|
||||
|
@ -73,8 +73,10 @@ test.describe('Edit offline - on Personal Files', () => {
|
||||
test('[XAT-5304] File is locked and downloaded when clicking Edit offline', async ({ personalFiles }) => {
|
||||
await personalFiles.dataTable.selectItems(file1);
|
||||
await personalFiles.acaHeader.clickMoreActions();
|
||||
await personalFiles.matMenu.clickMenuItem('Edit Offline');
|
||||
const [download] = await Promise.all([personalFiles.page.waitForEvent('download', { timeout: 5000 })]);
|
||||
const [download] = await Promise.all([
|
||||
personalFiles.page.waitForEvent('download', { timeout: 5000 }),
|
||||
personalFiles.matMenu.clickMenuItem('Edit Offline')
|
||||
]);
|
||||
expect(download.suggestedFilename()).toBe(file1);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user