Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Group
Labrador
Manage
Activity
Members
Labels
Plan
Issues
Epics
Issue boards
Epic boards
Roadmap
Milestones
Iterations
Wiki
Code
Merge requests
Deploy
Package registry
Operate
Terraform modules
Analyze
Insights
Issue analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Wiki
Common Issues
Changes
Page history
Wiki actions
New page
Templates
Clone repository
Update Common Issues
authored
Mar 1, 2023
by
Henry Page
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Common-Issues.md
+7
-1
7 additions, 1 deletion
Common-Issues.md
with
7 additions
and
1 deletion
Common-Issues.md
View page @
73baf3fe
...
...
@@ -20,3 +20,9 @@ To ensure forms have a `_csrf` field, either make sure the form uses `th:action`
Usually in Queue, during the first start-up.
##### Solution:
There is a setting in
`application.yaml`
called
`test-connection`
in the
`mail`
section. Make sure this is set to
`false`
.
## Pipeline/Build failure when using view assertions
##### Where?
In Queue. When writing an assertion about the expected view, you might get
<error
/500
>
instead. Occasionally, the wrong spring context is initialized.
##### Solution:
Add
`@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)`
to the top of the test class to 'refresh' the Application Context.
\ No newline at end of file
This diff is collapsed.
Click to expand it.