Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
XWiki
xwiki-platform
Commits
834bfc1d
Commit
834bfc1d
authored
1 year ago
by
Manuel Leduc
Browse files
Options
Downloads
Patches
Plain Diff
XWIKI-21029: StaticListClassFieldIT#itemsEditor is flickering
parent
da704a4c
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
xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-test/xwiki-platform-appwithinminutes-test-pageobjects/src/main/java/org/xwiki/appwithinminutes/test/po/StaticListItemsEditor.java
+3
-1
3 additions, 1 deletion
...xwiki/appwithinminutes/test/po/StaticListItemsEditor.java
with
3 additions
and
1 deletion
xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-test/xwiki-platform-appwithinminutes-test-pageobjects/src/main/java/org/xwiki/appwithinminutes/test/po/StaticListItemsEditor.java
+
3
−
1
View file @
834bfc1d
...
@@ -141,7 +141,9 @@ public void moveBefore(String valueToMove, String beforeValue)
...
@@ -141,7 +141,9 @@ public void moveBefore(String valueToMove, String beforeValue)
// We move the item from the center, so we need to ensure that we actually move it with an offset of half its
// We move the item from the center, so we need to ensure that we actually move it with an offset of half its
// width to be sure it's before the other item element.
// width to be sure it's before the other item element.
int
offsetX
=
-
(
itemToMove
.
getSize
().
getWidth
()
/
2
);
// Adding a few pixels more (10) to make sure to pass the threshold where the passed element is moved to
// the next position in the list.
int
offsetX
=
-(
itemToMove
.
getSize
().
getWidth
()
/
2
)
-
10
;
int
offsetY
=
2
;
int
offsetY
=
2
;
getDriver
().
moveToTopLeftCornerOfTargetWithOffset
(
itemBefore
,
offsetX
,
offsetY
,
actions
).
release
().
perform
();
getDriver
().
moveToTopLeftCornerOfTargetWithOffset
(
itemBefore
,
offsetX
,
offsetY
,
actions
).
release
().
perform
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Git Mirror User
@gitmirror
mentioned in commit
32d4d589
·
1 year ago
mentioned in commit
32d4d589
mentioned in commit 32d4d589e90bbed30e164af5a67f4c6856c3c1b0
Toggle commit list
Git Mirror User
@gitmirror
mentioned in commit
ba0ca497
·
1 year ago
mentioned in commit
ba0ca497
mentioned in commit ba0ca497c970e2fa27bd01df2858a08864abb034
Toggle commit list
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