Skip to content

Commit

Permalink
Change file upload function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrk39 committed Feb 14, 2025
1 parent 23fbfb1 commit 3351b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/portalicious/pages/BasePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class BasePage {
await this.page.getByRole('button', { name: 'Add project' }).click();
}

async FileChooserComponent(filePath: string) {
async chooseAndUploadFile(filePath: string) {
const fileChooserPromise = this.page.waitForEvent('filechooser');
await this.chooseFileButton.click();
const fileChooser = await fileChooserPromise;
Expand Down
2 changes: 1 addition & 1 deletion e2e/portalicious/pages/PaymentsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class PaymentsPage extends BasePage {
async importReconciliationData(filePath: string) {
await this.importReconcilationDataButton.click();

await this.FileChooserComponent(filePath);
await this.chooseAndUploadFile(filePath);

await this.importFileButton.click();
}
Expand Down

0 comments on commit 3351b36

Please sign in to comment.