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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robert Goldmann
BudgetMaster
Commits
ba7ee7f1
Commit
ba7ee7f1
authored
1 year ago
by
Robert Goldmann
Browse files
Options
Downloads
Patches
Plain Diff
adjust firefox driver size
parent
8b7aa33f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
BudgetMasterServer/src/test/java/de/deadlocker8/budgetmaster/integration/helpers/SeleniumTestExecutionListener.java
+2
-1
2 additions, 1 deletion
...er/integration/helpers/SeleniumTestExecutionListener.java
with
2 additions
and
1 deletion
BudgetMasterServer/src/test/java/de/deadlocker8/budgetmaster/integration/helpers/SeleniumTestExecutionListener.java
+
2
−
1
View file @
ba7ee7f1
package
de.deadlocker8.budgetmaster.integration.helpers
;
package
de.deadlocker8.budgetmaster.integration.helpers
;
import
org.openqa.selenium.Dimension
;
import
org.openqa.selenium.WebDriver
;
import
org.openqa.selenium.WebDriver
;
import
org.openqa.selenium.firefox.FirefoxDriver
;
import
org.openqa.selenium.firefox.FirefoxDriver
;
import
org.openqa.selenium.firefox.FirefoxOptions
;
import
org.openqa.selenium.firefox.FirefoxOptions
;
...
@@ -42,7 +43,7 @@ public class SeleniumTestExecutionListener extends AbstractTestExecutionListener
...
@@ -42,7 +43,7 @@ public class SeleniumTestExecutionListener extends AbstractTestExecutionListener
FirefoxOptions
options
=
new
FirefoxOptions
();
FirefoxOptions
options
=
new
FirefoxOptions
();
options
.
addPreference
(
"devtools.console.stdout.content"
,
true
);
options
.
addPreference
(
"devtools.console.stdout.content"
,
true
);
driver
=
new
FirefoxDriver
(
options
);
driver
=
new
FirefoxDriver
(
options
);
driver
.
manage
().
window
().
maximize
(
);
driver
.
manage
().
window
().
setSize
(
new
Dimension
(
1920
,
1080
)
);
ConfigurableListableBeanFactory
factory
=
configurableApplicationContext
.
getBeanFactory
();
ConfigurableListableBeanFactory
factory
=
configurableApplicationContext
.
getBeanFactory
();
factory
.
registerResolvableDependency
(
WebDriver
.
class
,
driver
);
factory
.
registerResolvableDependency
(
WebDriver
.
class
,
driver
);
...
...
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