package com.perforce.workshop.tjuricek.p4oauth; import org.openqa.selenium.WebDriver; import org.testng.annotations.AfterSuite; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; /** */ public class AuthorizationCodeTest implements WebdriverTest { private WebDriver webDriver; @Test public void stupid() { webDriver.get("https://localhost:8444/start"); } @BeforeSuite public void setup() { initWebdriver(); } public WebDriver getWebDriver() { return webDriver; } public void setWebDriver(WebDriver webDriver) { this.webDriver = webDriver; } @AfterSuite public void cleanup() { stopWebDriver(); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 9180 | tjuricek |
0.1.1 Adding mechanism for fetching the p4 token given the bearer token on an Authorization header. This is probably secure since we can't use these tokens except for the restricted hosts. |
||
#2 | 9157 | tjuricek | Added basic "authorization code" workflow test. | ||
#1 | 9144 | tjuricek | Added basic webdriver config and config for P4OAuth service |