We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88f67e4 commit 8b776d2Copy full SHA for 8b776d2
src/test/java/sdkexamples/Tests/SdkTabViewTests.java
@@ -1,5 +1,6 @@
1
package sdkexamples.Tests;
2
3
+import org.springframework.util.Assert;
4
import org.testng.annotations.DataProvider;
5
import org.testng.annotations.Test;
6
import sdkexamples.SdkBaseTest;
@@ -24,8 +25,10 @@ public Object[][] data() {
24
25
@Test(dataProvider = "example")
26
public void sdkTabViewTest(String example) throws Exception {
27
this.mainPage.navigateTo(example);
- if (example == "TabView items") {
28
- this.mainPage.find.byText("OK", 3).click();
+ if (example == "Basic TabView") {
29
+ Assert.notNull(this.mainPage.find.byText("NativeScript"));
30
+ } else if (example == "TabView items") {
31
+ Assert.notNull(this.mainPage.find.byText("TabView item with Icon"));
32
}
33
34
0 commit comments