mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 11:12:16 +01:00
fix billable toggle on time tracker, add billable toggle on time entries row
This commit is contained in:
@@ -4,7 +4,10 @@ import { PLAYWRIGHT_BASE_URL } from '../playwright/config';
|
||||
test('test that user name can be updated', async ({ page }) => {
|
||||
await page.goto(PLAYWRIGHT_BASE_URL + '/user/profile');
|
||||
await page.getByLabel('Name').fill('NEW NAME');
|
||||
await page.getByRole('button', { name: 'Save' }).first().click();
|
||||
await Promise.all([
|
||||
page.getByRole('button', { name: 'Save' }).first().click(),
|
||||
page.waitForResponse('**/user/profile-information'),
|
||||
]);
|
||||
await page.reload();
|
||||
await expect(page.getByLabel('Name')).toHaveValue('NEW NAME');
|
||||
});
|
||||
|
||||
@@ -276,3 +276,5 @@ test('test that adding a new tag when the timer is running', async ({
|
||||
// test that sidebar timetracker starts and stops timer
|
||||
|
||||
// test that sidebar timetracker changes state when tmer on dashboard is started
|
||||
|
||||
// test billable toggle
|
||||
|
||||
Reference in New Issue
Block a user