mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-06 19:01:03 +01:00
[#877] Test for /player/uuid page
This commit is contained in:
parent
96d6e301dd
commit
1273f26a64
@ -104,6 +104,14 @@ public class JSErrorRegressionTest {
|
|||||||
assertFalse(driver.getPageSource(), driver.getPageSource().contains("500 Internal Error occurred"));
|
assertFalse(driver.getPageSource(), driver.getPageSource().contains("500 Internal Error occurred"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void playerPageAccessibleViaUUID() {
|
||||||
|
System.out.println("Testing Player Page via UUID");
|
||||||
|
WebDriver driver = seleniumDriver.getDriver();
|
||||||
|
driver.get("http://localhost:" + TEST_PORT_NUMBER + "/player/" + TestConstants.PLAYER_ONE_UUID);
|
||||||
|
assertFalse(driver.getPageSource(), driver.getPageSource().contains("404 "));
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("PlanPluginMocker displays network page for some reason. Investigate")
|
@Ignore("PlanPluginMocker displays network page for some reason. Investigate")
|
||||||
public void serverPageDoesNotHaveJavascriptErrors() {
|
public void serverPageDoesNotHaveJavascriptErrors() {
|
||||||
|
Loading…
Reference in New Issue
Block a user