change e2e tests to use organization default values for money formatting

This commit is contained in:
Gregor Vostrak
2025-05-09 18:34:23 +02:00
parent 68f636c8ff
commit 02a8367d16
4 changed files with 26 additions and 18 deletions

View File

@@ -27,9 +27,11 @@ test('test that organization billable rate can be updated with all existing time
.getByLabel('Organization Billable Rate')
.fill(newBillableRate.toString());
await page
.locator('button')
.filter({ hasText: /^Save$/ })
.locator('form')
.filter({ hasText: 'Organization Billable' })
.getByRole('button')
.click();
await Promise.all([
page
.getByRole('button', { name: 'Yes, update existing time entries' })