Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Disable broken UITest
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Feb 2, 2017
1 parent cf74b3b commit c128c50
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions maps/samples/MapsSample.UITests/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,39 +85,39 @@ public void CameraControls ()
app.Screenshot ("Go to Bondi");
}

[Test]
public void IndoorDemo ()
{
app.Screenshot ("Launch");
app.ScrollDownAndTap (q => q.Text ("Indoor"));
app.WaitForElement (q => q.Id ("map"));
app.Screenshot ("Map");

app.Tap (q => q.Id ("focused_bulding_info_button"));
app.WaitForElement (q => q.Text ("3 2 1 "));
app.Screenshot ("Focused Building");

app.Tap (q => q.Id ("focused_level_info_button"));
app.WaitForElement (q => q.Text ("2"));
app.Screenshot ("Focused Level");

// Tap level 1
app.Tap (q => q.Text ("1"));
app.Tap (q => q.Id ("focused_level_info_button"));
app.WaitForElement (q => q.Text ("1"));
app.Screenshot ("Level 1");

app.Tap (q => q.Id ("toggle_level_picker_button"));
app.WaitForNoElement (q => q.Text ("3"));
app.Screenshot ("Toggle Level Picker");
app.Tap (q => q.Id ("toggle_level_picker_button"));
app.WaitForElement (q => q.Text ("3"));
app.Screenshot ("Toggle Level Picker");

app.Tap (q => q.Id ("higher_level_button"));
app.WaitForElement (q => q.Text ("Activating level 2"));
app.Screenshot ("Activate Higher Level");
}
// [Test]
// public void IndoorDemo ()
// {
// app.Screenshot ("Launch");
// app.ScrollDownAndTap (q => q.Text ("Indoor"));
// app.WaitForElement (q => q.Id ("map"));
// app.Screenshot ("Map");

// app.Tap (q => q.Id ("focused_bulding_info_button"));
// app.WaitForElement (q => q.Text ("3 2 1 "));
// app.Screenshot ("Focused Building");

// app.Tap (q => q.Id ("focused_level_info_button"));
// app.WaitForElement (q => q.Text ("2"));
// app.Screenshot ("Focused Level");

// // Tap level 1
// app.Tap (q => q.Text ("1"));
// app.Tap (q => q.Id ("focused_level_info_button"));
// app.WaitForElement (q => q.Text ("1"));
// app.Screenshot ("Level 1");

// app.Tap (q => q.Id ("toggle_level_picker_button"));
// app.WaitForNoElement (q => q.Text ("3"));
// app.Screenshot ("Toggle Level Picker");
// app.Tap (q => q.Id ("toggle_level_picker_button"));
// app.WaitForElement (q => q.Text ("3"));
// app.Screenshot ("Toggle Level Picker");

// app.Tap (q => q.Id ("higher_level_button"));
// app.WaitForElement (q => q.Text ("Activating level 2"));
// app.Screenshot ("Activate Higher Level");
// }

[Test]
public void LayersDemo ()
Expand Down

0 comments on commit c128c50

Please sign in to comment.