test: folder tests

This commit is contained in:
Jakub P
2025-04-09 20:01:36 +02:00
parent 1f6010bdea
commit 3b9f86a547
15 changed files with 488 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
const { AuthenticatedPage } = require('../authenticated-page');
export class CreateFolderDialog extends AuthenticatedPage {
constructor(page) {
super(page);
this.folderNameInput = page.getByTestId('new-folder-name').locator('input');
this.createButton = page.getByTestId('create-folder-dialog-create-button');
this.successAlert = page.getByTestId('create-folder-dialog-success-alert');
this.errorAlert = page.getByTestId(
'create-folder-dialog-generic-error-alert'
);
this.closeDialog = page.getByTestId('close-dialog');
}
}