Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BudgetMaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
PlayWallDesktop wird heute 10 Jahre alt!
Show more breadcrumbs
Robert Goldmann
BudgetMaster
Commits
2e21c1f1
Commit
2e21c1f1
authored
May 1, 2019
by
Robert Goldmann
Browse files
Options
Downloads
Patches
Plain Diff
#431 - https
parent
9e908d36
No related branches found
No related tags found
No related merge requests found
Pipeline
#1406
failed
May 1, 2019
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/de/deadlocker8/budgetmaster/integration/LoginControllerTest.java
+2
-5
2 additions, 5 deletions
...locker8/budgetmaster/integration/LoginControllerTest.java
with
2 additions
and
5 deletions
src/test/java/de/deadlocker8/budgetmaster/integration/LoginControllerTest.java
+
2
−
5
View file @
2e21c1f1
...
@@ -9,7 +9,6 @@ import org.openqa.selenium.By;
...
@@ -9,7 +9,6 @@ import org.openqa.selenium.By;
import
org.openqa.selenium.WebDriver
;
import
org.openqa.selenium.WebDriver
;
import
org.openqa.selenium.WebElement
;
import
org.openqa.selenium.WebElement
;
import
org.openqa.selenium.firefox.FirefoxDriver
;
import
org.openqa.selenium.firefox.FirefoxDriver
;
import
org.openqa.selenium.firefox.FirefoxOptions
;
import
org.springframework.boot.context.embedded.LocalServerPort
;
import
org.springframework.boot.context.embedded.LocalServerPort
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
...
@@ -22,7 +21,7 @@ import static org.junit.Assert.assertNotNull;
...
@@ -22,7 +21,7 @@ import static org.junit.Assert.assertNotNull;
public
class
LoginControllerTest
public
class
LoginControllerTest
{
{
private
WebDriver
driver
;
private
WebDriver
driver
;
private
String
baseUrl
=
"http://localhost:"
;
private
String
baseUrl
=
"http
s
://localhost:"
;
@LocalServerPort
@LocalServerPort
int
port
;
int
port
;
...
@@ -31,9 +30,7 @@ public class LoginControllerTest
...
@@ -31,9 +30,7 @@ public class LoginControllerTest
public
void
before
()
public
void
before
()
{
{
WebDriverManager
.
firefoxdriver
().
setup
();
WebDriverManager
.
firefoxdriver
().
setup
();
FirefoxOptions
options
=
new
FirefoxOptions
();
driver
=
new
FirefoxDriver
();
options
.
setHeadless
(
true
);
driver
=
new
FirefoxDriver
(
options
);
baseUrl
+=
port
;
baseUrl
+=
port
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment