refactor: items active by default

This commit is contained in:
Carlos Valente
2024-10-15 21:56:26 +02:00
committed by Carlos Valente
parent 1d4ddea596
commit 8ef807d6cb
4 changed files with 3 additions and 5 deletions
@@ -78,7 +78,7 @@ export default function UrlPresetsForm() {
const addNew = () => {
prepend({
enabled: false,
enabled: true,
alias: '',
pathAndParams: '',
});
@@ -60,7 +60,7 @@ export default function HttpIntegrations() {
id: generateId(),
cycle: 'onLoad',
message: '',
enabled: false,
enabled: true,
});
};
@@ -75,7 +75,7 @@ export default function OscIntegrations() {
cycle: 'onLoad',
address: '',
payload: '',
enabled: false,
enabled: true,
});
};
@@ -19,8 +19,6 @@ test('URL preset feature, it should redirect to given URL', async ({ page }) =>
await page.getByTestId('field__url_0').click();
await page.getByTestId('field__url_0').fill('countdown');
await page.getByTestId('field__enable_0').click();
await page.getByTestId('url-preset-form').getByRole('button', { name: 'Save', exact: true }).click();
// make sure preset works