mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
refactor: style cleanups and migrations
fix: close modal with button refactor: small type improvements refactor: migrate time inputs refactor: migrate tooltips refactor: prevent component resizing
This commit is contained in:
committed by
Carlos Valente
parent
6facd6a666
commit
17a7d035bf
@@ -7,13 +7,13 @@ test('Aux timer buttons', async ({ page }) => {
|
||||
await page.getByTestId('time-input-aux1').press('Enter');
|
||||
await expect(page.getByTestId('time-input-aux1')).toHaveValue('12:34:56');
|
||||
await page.getByTestId('aux-timer-start-1').click();
|
||||
await expect(page.getByTestId('time-input-aux1')).toHaveValue('12:34:53', { timeout: 4000 });
|
||||
await expect(page.getByTestId('time-label-aux1')).toHaveText('12:34:53', { timeout: 4000 });
|
||||
await page.getByTestId('aux-timer-pause-1').click();
|
||||
await expect(page.getByTestId('time-input-aux1')).toHaveValue('12:34:53');
|
||||
await expect(page.getByTestId('time-label-aux1')).toHaveText('12:34:53');
|
||||
await page.getByTestId('aux-timer-stop-1').click();
|
||||
await expect(page.getByTestId('time-input-aux1')).toHaveValue('12:34:56');
|
||||
await page.getByTestId('aux-timer-direction-1').click();
|
||||
await page.getByTestId('aux-timer-start-1').click();
|
||||
await expect(page.getByTestId('time-input-aux1')).toHaveValue('12:34:59', { timeout: 4000 });
|
||||
await expect(page.getByTestId('time-label-aux1')).toHaveText('12:34:59', { timeout: 4000 });
|
||||
await page.getByTestId('aux-timer-stop-1').click();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user