Added failing test and fixed spacing in docker-compose.yml

This commit is contained in:
Sophie Lathouwers 2017-06-21 11:50:27 +02:00
parent 1260b6ec5f
commit 162f863026
2 changed files with 33 additions and 5 deletions

View file

@ -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"

View 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();
}
}