Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-2484991
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drupal-2484991
Commits
9a63547e
Commit
9a63547e
authored
7 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2864177
by xjm, droplet: Random failure in FormErrorHandlerCKEditorTest
parent
0707a705
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php
+2
-4
2 additions, 4 deletions
...src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php
with
2 additions
and
4 deletions
core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php
+
2
−
4
View file @
9a63547e
...
...
@@ -82,8 +82,6 @@ public function testFragmentLink() {
$this
->
drupalGet
(
'node/add/page'
);
$page
=
$this
->
getSession
()
->
getPage
();
// Only enter a title in the node add form and leave the body field empty.
$edit
=
[
'edit-title-0-value'
=>
'Test inline form error with CKEditor'
];
...
...
@@ -99,8 +97,8 @@ public function testFragmentLink() {
// Check if we can find the error fragment link within the errors summary
// message.
$errors_link
=
$
page
->
find
(
'css'
,
'.messages--error a[href=
\
#edit-body-0-value]'
);
$this
->
assert
True
(
$errors_link
->
isVisible
()
,
'Error fragment link is visible.'
);
$errors_link
=
$
this
->
assertSession
()
->
waitForElementVisible
(
'css'
,
'.messages--error a[href=
"
#edit-body-0-value
"
]'
);
$this
->
assert
NotEmpty
(
$errors_link
,
'Error fragment link is visible.'
);
$errors_link
->
click
();
...
...
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