Fix test
This commit is contained in:
parent
2b6762055a
commit
5594355b4c
3 changed files with 17 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue