[ACS-7765] playwright Migration for upload new action e2e test (#3866)

* [ACS-7764] Migrated e2e tests Actions - upload

* [ACS-7764] Protractor2Playwright - Actions - Upload

* [ACS-7764] upload file fix

* [ACS-7765] playwright upload new action e2e test

* [ACS-7765] fix locator

* [ACS-7765] added fix and new test

* suggested fix for locator text

Co-authored-by: MichalKinas <113341662+MichalKinas@users.noreply.github.com>

* Update viewer.component.ts

---------

Co-authored-by: Katarzyna Kita <katarzyna.kita@hyland.com>
Co-authored-by: MichalKinas <113341662+MichalKinas@users.noreply.github.com>
This commit is contained in:
Akash Rathod
2024-06-04 15:27:48 +02:00
committed by GitHub
parent e35b12d53f
commit 157451841c
10 changed files with 232 additions and 895 deletions

View File

@@ -42,6 +42,7 @@ export class AcaHeader extends BaseComponent {
public uploadButton = this.getChild('button[id="app.toolbar.upload"]');
public uploadFileButton = this.page.locator('button[id="app.create.uploadFile"]');
public uploadInput = this.page.locator('input[id="app-upload-files"]');
public uploadNewVersionButton = this.page.locator('#app-upload-file-version');
public permanentlyDeleteButton = this.getChild('button[id="app.toolbar.purgeDeletedNodes"]');
public restoreButton = this.getChild('button[id="app.toolbar.restoreDeletedNodes"]');