//# خروجی مقدار کیف پول console.log( num1); // num = num; // "82144251" const numAsNumber = Number(num1); // numAsNumber=numAsNumber+50; var str = num1; var num = parseInt(str); const alpha = str.replace(num.toString(), ''); //num=num+100; console.log(num); if (num>=100) { await page.getByRole('button', { name: 'برداشت وجه' }).isDisabled(); }if(num<0){ await expect(page.getByTestId('status')).toHaveText('Fail'); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter