Last active
August 29, 2015 14:22
-
-
Save vinogradoff/8cb67db1379407e08383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SimpleTest | |
{ | |
SelenideElement page=$("#page"), | |
text=page.$("#text"), | |
img=page.$("#img"); | |
@Before | |
public void setup(){ | |
open("/"); | |
} | |
@Test | |
public void simpleTest() | |
{ | |
page.shouldBe(visible); | |
text.shouldBe(visible); | |
} | |
@Test | |
public void simpleTest2() | |
{ | |
page.shouldBe(visible); | |
img.shouldBe(visible); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment