mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
refactor: items active by default
This commit is contained in:
committed by
Carlos Valente
parent
1d4ddea596
commit
8ef807d6cb
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user