Skip to content

Commit

Permalink
added ifdefines for failed case on windows and added image for failed…
Browse files Browse the repository at this point in the history
… case in mac
  • Loading branch information
anandhan-rajagopal authored and rmarinho committed Nov 18, 2024
1 parent 7450378 commit fef02d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#if TEST_FAILS_ON_CATALYST // This test fails on Catalyst because the animation happeds while tab changes which cause additional delays.
#if TEST_FAILS_ON_CATALYST && TEST_FAILS_ON_WINDOWS
// In Windows the app gets crashes randomly while executing the test.
// In Catalyst the animation happens while tab changes which cause additional delays. Tried by adding timespan still getting OpenQA.Selenium.InvalidSelectorException on line no 25.
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand All @@ -22,7 +24,8 @@ public void ClickingQuicklyBetweenTopTabsBreaksContent()
App.Tap("AutomatedRun");
App.WaitForElement("Success");
App.Tap("AutomatedRun");
App.WaitForElement("Success"); }
App.WaitForElement("Success");
}
}
}
#endif

0 comments on commit fef02d1

Please sign in to comment.