[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

@@ -69,7 +69,7 @@ describe('Attach widget - File', () => {
await newTask.selectForm(app.formName);
await newTask.clickStartButton();
await widget.attachFileWidget().attachFile(appFields.attachFile_id, browser.params.testConfig.main.rootPath + pdfFile.location);
await widget.attachFileWidget().attachFile(appFields.attachFile_id, pdfFile.location);
await widget.attachFileWidget().checkFileIsAttached(appFields.attachFile_id, pdfFile.name);
});