Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_base_profile
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
WCMS
uw_base_profile
Merge requests
!177
ISTWCMS-4960: Test that forms work after having saved their access settings
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ISTWCMS-4960: Test that forms work after having saved their access settings
feature/ISTWCMS-4960-lkmorlan-test-saving-form-access
into
3.0.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Liam Morland
requested to merge
feature/ISTWCMS-4960-lkmorlan-test-saving-form-access
into
3.0.x
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
3.0.x
version 2
1e371486
3 years ago
version 1
8e4875e5
3 years ago
3.0.x (base)
and
latest version
latest version
f710195a
1 commit,
3 years ago
version 2
1e371486
1 commit,
3 years ago
version 1
8e4875e5
1 commit,
3 years ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/src/Functional/UwWcmsBasicTest.php
+
7
−
0
Options
@@ -255,6 +255,13 @@ class UwWcmsBasicTest extends BrowserTestBase {
// Test for existence Webform CAPTCHA component on newly-created Webform.
$this
->
assertFieldByXPath
(
'//table[@id="edit-webform-ui-elements"]/tbody/tr[@data-webform-type="captcha"]'
,
NULL
,
'CAPTCHA component exists.'
);
// Save the access page. If a form is altered by unsetting parts of it
// instead of setting #access, empty access values will be saved leading to
// access issues later. Save the page here to verify that no access values
// get changed.
$edit
=
[];
$this
->
drupalPostForm
(
'admin/structure/webform/manage/test_form/access'
,
$edit
,
'Save'
);
// The variable $test_paths stores Drupal paths and permission information.
// In this array, the keys are paths. If the value is TRUE, everyone has
// access. Otherwise, the value must be an array of roles that have access.
Loading