Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal_cms
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal_cms
Merge requests
!323
Resolve
#3493442
"Fix tests"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
#3493442
"Fix tests"
issue/drupal_cms-3493442:3493442-fix-tests
into
1.x
Overview
0
Commits
21
Pipelines
6
Changes
14
Merged
Jürgen Haas
requested to merge
issue/drupal_cms-3493442:3493442-fix-tests
into
1.x
3 months ago
Overview
0
Commits
21
Pipelines
6
Changes
14
Expand
Closes
#3493442
0
0
Merge request reports
Compare
1.x
version 5
3361418a
3 months ago
version 4
96a7f652
3 months ago
version 3
9005ecd1
3 months ago
version 2
4f9ffafb
3 months ago
version 1
40cb0c7e
3 months ago
1.x (base)
and
latest version
latest version
3361418a
21 commits,
3 months ago
version 5
3361418a
21 commits,
3 months ago
version 4
96a7f652
19 commits,
3 months ago
version 3
9005ecd1
18 commits,
3 months ago
version 2
4f9ffafb
16 commits,
3 months ago
version 1
40cb0c7e
14 commits,
3 months ago
14 files
+
1201
−
21
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
Search (e.g. *.vue) (Ctrl+P)
recipes/drupal_cms_analytics/tests/src/Functional/ComponentValidationTest.php
+
7
−
0
Options
@@ -38,6 +38,13 @@ class ComponentValidationTest extends BrowserTestBase {
'--input=drupal_cms_analytics.property_id=nonsense'
,
];
$this
->
assertStringContainsString
(
'This value is not valid.'
,
$this
->
applyRecipe
(
$dir
,
1
,
$options
)
->
getErrorOutput
());
// The privacy settings should be available to anonymous users.
$this
->
drupalPlaceBlock
(
'system_menu_block:footer'
,
[
'label'
=>
'Footer'
]);
$this
->
drupalGet
(
'<front>'
);
$footer_menu
=
$this
->
assertSession
()
->
elementExists
(
'css'
,
'nav > h2:contains("Footer") + ul'
);
$this
->
assertTrue
(
$footer_menu
->
hasLink
(
'My privacy settings'
));
}
}
Loading