mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-08 14:51:14 +00:00
[ACS-9795] [E2E] Fixing tests from ACS-9795 (#4676)
* [ACS-9795] [E2E] Included tests for verification * [ACS-9795] [E2E] fixes for e2es pt.1 * [ACS-9795] e2e fixes pt.2 * [ACS-9795] e2e fixes pt.3 * [ACS-9795] deleted dist for testing * [ACS-9795] tests excluded - local ACS issues * [ACS-9795] sonar fixes * [ACS-9795] excluded XAT-17182 * [ACS-9795] updated exclude URLs * [ACS-9795] review fixes 1
This commit is contained in:
@@ -31,6 +31,8 @@ export const timeouts = {
|
||||
big: 7.5 * 1000,
|
||||
large: 10 * 1000,
|
||||
extraLarge: 20 * 1000,
|
||||
fortySeconds: 40 * 1000,
|
||||
sixtySeconds: 60 * 1000,
|
||||
globalTest: 85 * 1000,
|
||||
extendedTest: 150 * 1000,
|
||||
extendedLongTest: 200 * 1000,
|
||||
|
@@ -96,9 +96,9 @@ export class Utils {
|
||||
}
|
||||
}
|
||||
|
||||
static async uploadFileNewVersion(personalFilesPage: PersonalFilesPage, fileFromOS: string): Promise<void> {
|
||||
static async uploadFileNewVersion(personalFilesPage: PersonalFilesPage, fileFromOS: string, fileType: string): Promise<void> {
|
||||
const fileInput = await personalFilesPage.page.$('#app-upload-file-version');
|
||||
await fileInput.setInputFiles(path.join(__dirname, `../resources/test-files/${fileFromOS}.docx`));
|
||||
await fileInput.setInputFiles(path.join(__dirname, `../resources/test-files/${fileFromOS}.${fileType}`));
|
||||
}
|
||||
|
||||
static async reloadPageIfRowNotVisible(
|
||||
|
Reference in New Issue
Block a user