Skip to content

Commit

Permalink
refactor: items active by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Oct 16, 2024
1 parent 1d4ddea commit 8ef807d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function UrlPresetsForm() {

const addNew = () => {
prepend({
enabled: false,
enabled: true,
alias: '',
pathAndParams: '',
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function HttpIntegrations() {
id: generateId(),
cycle: 'onLoad',
message: '',
enabled: false,
enabled: true,
});
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function OscIntegrations() {
cycle: 'onLoad',
address: '',
payload: '',
enabled: false,
enabled: true,
});
};

Expand Down
2 changes: 0 additions & 2 deletions e2e/tests/features/206-url-preset.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ef807d

Please sign in to comment.