This commit is contained in:
Djuri 2024-09-03 11:20:07 +02:00
parent 2b6762055a
commit 5594355b4c
3 changed files with 17 additions and 5 deletions

View file

@ -179,7 +179,7 @@ test('time values can not be zero or negative', async ({ page }) => {
test('info message when fetch eur price is enabled', async ({ page }) => {
await page.goto('/');
const inputField = 'input#fetchEurPrice';
const switchElement = await page.$(inputField);
const switchElement = await page.locator(inputField);
expect(switchElement).toBeTruthy();
const isSwitchEnabled = await switchElement.isChecked();