public void IsChangedDropDownMenuCurrency_AreEqual() { string cashAmountFirstField = "4.26"; FinancePage financePage = homePage.OpenFinancePage(); financePage.SetCurrencyConverterFirstField(cashAmountFirstField); financePage.SetCurrencyConverterFirstCurrency("USD"); AllureLifecycle.Instance.Verify.That($"cash in first field: {cashAmountFirstField} should correspond to cash in second field: {financePage.GetCurrencyConverterSecondField()}", cashAmountFirstField, Is.EqualTo(financePage.GetCurrencyConverterSecondField())); }
public void IsChangedDropDownMenuCurrency_AreEqual() { string cashAmountFirstField = "4.26"; FinancePage financePage = homePage.OpenFinancePage(); financePage.SetCurrencyConverterFirstField(cashAmountFirstField); financePage.SetCurrencyConverterFirstCurrency("USD"); string cashAmountSecondField = financePage.GetCurrencyConverterSecondField(); Assert.AreEqual(cashAmountFirstField, cashAmountSecondField); }