public void ThenProductIsNoLongerPresentInMyCart() { CartPageActions cart = new CartPageActions(); //ScenarioContext.Current.TryGetValue("AddedItem", out string itemId); string actualState = cart.GetTextFromEmptyCart(); string expectedState = "В корзине нет товаров"; Assert.AreEqual(expectedState, actualState); }