This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
DevOpsOpenHack/MobileApps/MyDriving/MyDriving.UITests/Tests/CurrentTripTests.cs
2022-11-03 16:41:13 -04:00

30 lines
728 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using Xamarin.UITest;
using NUnit.Framework;
namespace MyDriving.UITests
{
public class CurrentTripTests : AbstractSetup
{
public CurrentTripTests (Platform platform) : base (platform)
{
}
[Test]
public void RecordTripTest()
{
new CurrentTripPage()
.NavigateTo("Current Trip");
new CurrentTripPage()
.StartRecordingTrip()
.StopRecordingTrip()
.SaveTrip("Test Cloud Test Drive");
new TripSummaryPage()
.AssertOnPage();
}
}
}