mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Added failing test and fixed spacing in docker-compose.yml
This commit is contained in:
parent
1260b6ec5f
commit
162f863026
2 changed files with 33 additions and 5 deletions
|
@ -17,8 +17,8 @@ services:
|
|||
- MYSQL_DATABASE=test
|
||||
volumes:
|
||||
- "./conf.d:/etc/mysql/conf.d:ro"
|
||||
selenium:
|
||||
image: selenium/standalone-firefox
|
||||
shm_size: 2g
|
||||
ports:
|
||||
- "4444:4444"
|
||||
selenium:
|
||||
image: selenium/standalone-firefox
|
||||
shm_size: 2g
|
||||
ports:
|
||||
- "4444:4444"
|
||||
|
|
28
src/test/java/nl/utwente/bpsd/selenium/FailingTest.java
Normal file
28
src/test/java/nl/utwente/bpsd/selenium/FailingTest.java
Normal file
|
@ -0,0 +1,28 @@
|
|||
package nl.utwente.bpsd.selenium;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.junit.experimental.categories.Category;
|
||||
import org.openqa.selenium.By;
|
||||
import org.openqa.selenium.support.ui.ExpectedConditions;
|
||||
import org.openqa.selenium.support.ui.Select;
|
||||
import org.openqa.selenium.support.ui.WebDriverWait;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
|
||||
/**
|
||||
* @author Martijn
|
||||
* @since 21-6-2017.
|
||||
*/
|
||||
public class FailingTest extends SeleniumBaseTest {
|
||||
public FailingTest() throws MalformedURLException {
|
||||
super();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Category(SeleniumBaseTest.class)
|
||||
public void failTest() {
|
||||
Assert.fail();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue