chore: remove fetchEurPrice as it is not used anymore
This commit is contained in:
parent
e16062569d
commit
744535eace
6 changed files with 0 additions and 43 deletions
|
@ -73,28 +73,6 @@ test('time values can not be zero or negative', async ({ page }) => {
|
|||
}
|
||||
});
|
||||
|
||||
test('info message when fetch eur price is enabled', async ({ page }) => {
|
||||
delete (settingsJson as { actCurrencies?: string[] }).actCurrencies;
|
||||
|
||||
await page.goto('/');
|
||||
await page.getByRole('button', { name: 'Show all' }).click();
|
||||
|
||||
const inputField = 'input#fetchEurPrice';
|
||||
const switchElement = await page.locator(inputField);
|
||||
|
||||
expect(switchElement).toBeTruthy();
|
||||
const isSwitchEnabled = await switchElement.isChecked();
|
||||
expect(isSwitchEnabled).toBe(false);
|
||||
|
||||
await expect(page.getByText('the WS Price connection will show')).toBeHidden();
|
||||
|
||||
await switchElement.click();
|
||||
const isSwitchNowEnabled = await switchElement.isChecked();
|
||||
expect(isSwitchNowEnabled).toBe(true);
|
||||
|
||||
await expect(page.getByText('the WS Price connection will show')).toBeVisible();
|
||||
});
|
||||
|
||||
test('npub values will be converted to hex pubkeys', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
await page.getByRole('button', { name: 'Show all' }).click();
|
||||
|
|
|
@ -84,7 +84,6 @@ export const settingsJson = {
|
|||
mcapBigChar: true,
|
||||
mdnsEnabled: true,
|
||||
otaEnabled: true,
|
||||
fetchEurPrice: false,
|
||||
hostnamePrefix: 'btclock',
|
||||
hostname: 'btclock-d60b14',
|
||||
ip: '192.168.20.231',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue