[ACA-3023]Refactor APS1 PO and ACS API calls of ADF testing package (#5629)

* Change the uploadFile method from ADF testing package

* Fix lint

* no message

* Fix a part of the tests

* Fix last tests

* Fix test

* Fix tests

* Fix test
This commit is contained in:
Cristina Jalba
2020-04-23 11:49:41 +03:00
committed by GitHub
parent 7fa9b59082
commit 098b9881eb
57 changed files with 160 additions and 116 deletions

View File

@@ -58,12 +58,12 @@ describe('Process Task - Attach content file', () => {
const pdfFileOne = {
'name': browser.params.resources.Files.ADF_DOCUMENTS.PDF.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.PDF.file_location
'location': browser.params.resources.Files.ADF_DOCUMENTS.PDF.file_path
};
const pdfFileTwo = {
'name': browser.params.resources.Files.ADF_DOCUMENTS.PDF_B.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.PDF_B.file_location
'location': browser.params.resources.Files.ADF_DOCUMENTS.PDF_B.file_path
};
const apiService = new ApiService(browser.params.config.oauth2.clientId, browser.params.config.bpmHost, browser.params.config.oauth2.host, 'BPM');