Created
April 3, 2018 14:06
-
-
Save wooyoung85/0afe9568e62dbb9c3858427f301b1130 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
import geb.spock.GebSpec | |
class GebishOrgSpec extends GebSpec { | |
def "can get to the current Book of Geb"() { | |
when: | |
to PcSellHomePage | |
then: | |
manualsMenu.jumbo.text().startsWith("임직원") | |
when: | |
manualsMenu.menus[1].click() | |
then: | |
at PCSellLoginPage | |
} | |
def "go login page"() { | |
when: | |
to PcSellHomePage | |
then: | |
manualsMenu.jumbo.text().startsWith("임직원") | |
when: | |
manualsMenu.menus[2].click() | |
then: | |
at PCSellLoginPage | |
} | |
def "Login Test"() { | |
when: | |
to LoginTest | |
then: | |
loginBtn.text().startsWith("Login") | |
when: | |
loginAsTester() | |
then: | |
at PCSellLoginPage | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment