-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
GtInspectorStep
[feenkcom/gtoolkit#3941]
- Loading branch information
1 parent
84acc72
commit c5fb1d9
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Class { | ||
#name : #GtInspectorStep, | ||
#superclass : #BlDevScripterToolActionStep, | ||
#category : #'GToolkit-Inspector-Scripter' | ||
} | ||
|
||
{ #category : #'steps - interactions' } | ||
GtInspectorStep >> clickOnInspectButton [ | ||
^ self click | ||
referenceSender; | ||
label: 'Click on play and inspect button'; | ||
// GtInspectorInspectButtonId | ||
] | ||
|
||
{ #category : #'steps - interactions' } | ||
GtInspectorStep >> dragPlaygroundVerticallyBy: aNumber [ | ||
^ (self mouseDragBy: 0 @ aNumber) | ||
label: ('Drag inspector playground by {1}' format: { aNumber }); | ||
referenceSender; | ||
// LeInspectorPlaygroundResizerId | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Extension { #name : #GtPagerStep } | ||
|
||
{ #category : #'*GToolkit-Inspector' } | ||
GtPagerStep >> clickOnInspectorInspectButtonAtPage: anIndex [ | ||
^ self inspectorStep | ||
label: ('Inspector at page no. {1}' format: { anIndex }); | ||
referenceSender; | ||
clickOnInspectButton; | ||
onParentStepTarget: self; | ||
onThisOrBreadthFirstChildOfKind: GtPager; | ||
// (GtPagerPageElementId indexed: anIndex) | ||
] | ||
|
||
{ #category : #'*GToolkit-Inspector' } | ||
GtPagerStep >> dragInspectorPlaygroundAtPage: anIndex verticallyBy: aNumber [ | ||
^ self inspectorStep | ||
label: ('Inspector at page no. {1}' format: { anIndex }); | ||
referenceSender; | ||
dragPlaygroundVerticallyBy: aNumber; | ||
onParentStepTarget: self; | ||
onThisOrBreadthFirstChildOfKind: GtPager; | ||
// (GtPagerPageElementId indexed: anIndex) | ||
] |