Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wcms_tests
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
wcms_tests
Commits
763d2b44
Commit
763d2b44
authored
9 months ago
by
Igor Biki
Committed by
Lily Yan
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6974: Code standards.
parent
d18b8de6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!69
ISTWCMS-6974: Adding tests for abbr ckeditor plugin.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
acceptance/WcmsTestsCkeditorButtonsCest.php
+3
-2
3 additions, 2 deletions
acceptance/WcmsTestsCkeditorButtonsCest.php
with
3 additions
and
2 deletions
acceptance/WcmsTestsCkeditorButtonsCest.php
+
3
−
2
View file @
763d2b44
...
...
@@ -38,7 +38,7 @@ class WcmsTestsCkeditorButtonsCest {
$i
->
amOnPage
(
'admin/config/content/formats/manage/'
.
$tf_machine_name
);
$i
->
see
(
$tf_name
);
$i
->
seeElement
(
'li[data-drupal-ckeditor-button-name="Anchor"][class="ckeditor-button"] a[href="#"][role="button"][title="Anchor"][aria-label="Anchor"]'
);
if
(
$tf_machine_name
===
'uw_tf_standard'
)
{
// Checking if abbr icon is part of available plugins (on toolbar).
// Takes into account button group too. Moving abbr to a new group
...
...
@@ -46,7 +46,8 @@ class WcmsTestsCkeditorButtonsCest {
$i
->
seeElement
(
'ul[aria-labelledby="ckeditor-toolbar-group-aria-label-for-styles"][role="toolbar"][data-drupal-ckeditor-button-sorting="target"] li[data-drupal-ckeditor-button-name="abbr"][class="ckeditor-button"] a[href="#"][role="button"][title="Abbreviation"][aria-label="Abbreviation"]'
);
}
else
{
// Checking if abbr plugin is in the list of available (not enabled) plugins.
// Checking if abbr plugin is in the list of available (not enabled)
// plugins.
$i
->
seeElement
(
'ul[id="ckeditor-available-buttons"] li[data-drupal-ckeditor-button-name="abbr"][class="ckeditor-button"] a[href="#"][role="button"][title="Abbreviation"][aria-label="Abbreviation"]'
);
}
}
...
...
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