mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 03:23:51 -05:00
* Add UI test for validating that split transaction rules work as expected * Apply suggestions from code review Renames split-transactions-add to add-split-transactions Co-authored-by: Joel Jeremy Marquez <joeljeremy.marquez@gmail.com> * Define id for finding splitactions on the page wher its used --------- Co-authored-by: Joel Jeremy Marquez <joeljeremy.marquez@gmail.com>
16 lines
415 B
JavaScript
16 lines
415 B
JavaScript
export class SettingsPage {
|
|
constructor(page) {
|
|
this.page = page;
|
|
}
|
|
|
|
async exportData() {
|
|
await this.page.getByRole('button', { name: 'Export data' }).click();
|
|
}
|
|
|
|
async enableExperimentalFeature(featureName) {
|
|
await this.page.getByTestId('advanced-settings').click();
|
|
await this.page.getByTestId('experimental-settings').click();
|
|
await this.page.getByLabel(featureName).check();
|
|
}
|
|
}
|