/// <summary> /// Method to verify the Stops List for the Left Routes panel loaded for the expected Route Number /// </summary> /// <param name="expectedRouteNumber"></param> public void VerifyStopsListLoadedForExpectedRouteNumber(string expectedRouteNumber) { //Verify the Stops List is visible LeftStopsContainer.Displayed.Should().BeTrue("Expected the Stop List to be displayed for the Left Routes Panel"); //Verify the Stops List loaded for the expected route var routeLoadedInStopsList = LeftStopsContainerContent.GetAttribute("data-routenumber"); routeLoadedInStopsList.Should().Be(expectedRouteNumber, $"should have loaded the stops list for Route {expectedRouteNumber}"); }