-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMP Release #32
Merged
Merged
SMP Release #32
Changes from all commits
Commits
Show all changes
120 commits
Select commit
Hold shift + click to select a range
c17e866
general section work
6014852
Merge remote-tracking branch 'origin/main'
86c2835
new changes, tests
49cbbeb
Merge remote-tracking branch 'origin/main'
5bf899d
some changes, fixes and new tests
03492aa
new tests
7f8d07a
Some changes
73518fd
Update ProxyServer
93c7b8f
Add ChromeOptions argument
576995f
Merge remote-tracking branch 'origin/main' into smpInternal
66438c8
Fix issues after upgrade to latest BELLATRIX
1c82275
Merge branch 'main' into smpInternal
db5484e
Browser.WaitUntil() method added
b6e4129
fix issues with configs and scroll to visible
df46592
fix using
de47fea
Added new ProxyServer methods
cb785b6
Merge branch 'smpInternal' of https://github.com/AutomateThePlanet/BE…
8da6c99
Implement WaitForImagestToLoad method, enable toast notifications
1e9d5fe
Merge remote-tracking branch 'origin/smpInternal' into smpInternal
9116ec5
Add capability for unexpected popups
edaa7ef
fixed most of the tests and their structure
d8dc399
Merge remote-tracking branch 'origin/main' into smpInternal
9961aa1
ProxyServer().assertRequestNotMade() fix
f5ac204
add logging
6e64937
fix video plugin
b260083
fix duplicate dependencies
24996b6
Merge branch 'smpInternal' of https://github.com/AutomateThePlanet/BE…
89f5e27
added waitForRequest() method to the BrowserService
5d969df
remove scroll logging as it floods the output
6775f6d
Merge remote-tracking branch 'origin/smpInternal' into smpInternal
cd9ecf1
remove scroll logging as it floods the output, add tun test filter
a790e9a
added new tests
7349cba
ProxyServer get request/response object fix
4b69090
Merge branch 'smpInternal' of https://github.com/AutomateThePlanet/BE…
19b54cb
New waitForResponse method added
dfdd153
add validation method in checkbox component
227124b
Merge remote-tracking branch 'origin/smpInternal' into smpInternal
1d5b0ab
ValidateIsDisabled method refactored
0dacf5a
wait response method refactored
a891d0c
Merge branch 'smpInternal' of https://github.com/AutomateThePlanet/BE…
522e290
apply wait for dashboard page on all tests
eeee8d8
added list with HTTP successful statuses and edited validation for su…
0f69564
add style validations
40cbc84
add initial value for threadlocal values
0db2602
revert console logs coloring
5da7f51
add error handling
ddc028d
Merge branch 'wait-for-ajax-fix' into smpInternal
fc085ae
add image data logging
17408fb
Added ClipboardManager
2110eda
Merge branch 'smpInternal' of https://github.com/AutomateThePlanet/BE…
5b2a7b9
add error logging, improve screenshot plugin to inject image to html …
8801a5a
Merge remote-tracking branch 'origin/smpInternal' into smpInternal
7436ab2
enhance logging
7ea6674
fix fetching of similar requests
a83e785
webdrivermanager removed and selenium update
04eb4e7
Merge branch 'smpInternal' of https://github.com/AutomateThePlanet/BE…
c44df51
Package org.apache.hc.core5.net.URIBuilder update
833a10a
Added browser version for test purposes
9df4aa1
Added Chrome & Chromedriver for testing
11e1535
Chrome_Headless mode configuration fixes
e84b80b
fix set window size priorities
4ed21c4
Merge remote-tracking branch 'origin/smpInternal' into smpInternal
23c5f38
fix browser defaults to be read from config
da54efa
add logging
bdf4068
remove console coloring commands
412e888
change headless mode to old
afd8fdb
update Entites asserter to ignore non-existanf properties
d5af611
change screenshot strategy to simple
5ba8ffd
add clipboard retrieval via JS code
6eb4397
update driver prompt disable via capabilities
5fc20bb
remove unused usings
192ec57
refactor resizing
3f36be0
remove assert throw
8c9107c
add getParent method to the web components
b24cd00
add environment getter
0a32ee1
add file name to screenshot generated event
cf0d71a
fix double screenshot
b55243a
refactor retry logic
68778d0
enhance Proxy server logging
16a9b81
add console log methods in BrowserService
3e8b374
fix minor issues
194d593
add console logs assertion
f0ac1f0
add javascript service to base page
64c48ea
add logging in proxy server
0f96f57
update logging in Proxy server
a189e7c
add experimental logic
a9badfe
revert experiment
6035d05
add scroll methods in BrowserService
b90a854
add wait without exception throw
45adc35
add supported response type
5a7879b
add tryWait method to catch exception in case it happens
abd5d78
refactor waitForRequest
7b45350
refactor usage of logs
053f478
apply fix in wait
8442083
add try catch in notification toasts
6ef22d4
add try catch in wait for page load
a7bd1be
fix logic in wait for request in delete
4592319
Fix After method execution when @ParametereziedTest annotaion is used
79f8343
add clipboard method
c31c17d
add clipboard method
8e8ab0a
format BrowserService
f1aecde
fix whitespace
0a058ee
add methods for scroll to visible
acb2640
enable browser type set as env variable
12d2a02
fix brwoserService issue with unsupported browsers
f4dbe80
revert scroll behavior to instant
d93b41e
Improved logging in Selenium wait
5effd5b
refactor getDataObject method in ProxyServer
0b8d188
Merge branch 'main' into smpInternal
58d9cc7
Merge with latest main
7f2b985
Add afterClass method that is not static and can be overridden
d1b633d
add checkbox method overload
e074463
fix issue is Browser wait
f49d707
minor fix
54c56f6
Enable Chrome Emulation mode with predefined devices
563539f
fix browserLifecycle attribute readings
2271e8c
support method-level browser change
b7a90d1
fix pr comments
394c2ff
Merge remote-tracking branch 'refs/remotes/origin/main' into smpInternal
d2bc948
fix warning
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
43 changes: 0 additions & 43 deletions
43
bellatrix.core/src/main/java/solutions/bellatrix/core/integrations/azure/KeyVault.java
This file was deleted.
Oops, something went wrong.
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
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
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
26 changes: 26 additions & 0 deletions
26
bellatrix.core/src/main/java/solutions/bellatrix/core/utilities/ClipboardManager.java
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,26 @@ | ||
package solutions.bellatrix.core.utilities; | ||
|
||
import java.awt.*; | ||
import java.awt.datatransfer.*; | ||
import java.io.IOException; | ||
|
||
public class ClipboardManager { | ||
private static final Clipboard systemClipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); | ||
|
||
public static String getLastEntity() { | ||
var lastCopiedEntity = ""; | ||
|
||
try { | ||
lastCopiedEntity = (String)systemClipboard.getData(DataFlavor.stringFlavor); | ||
} catch (IOException | UnsupportedFlavorException e) { | ||
throw new RuntimeException(e); | ||
} | ||
|
||
return lastCopiedEntity; | ||
} | ||
|
||
public static void copyTextToClipboard(String text) { | ||
Transferable transferable = new StringSelection(text); | ||
systemClipboard.setContents(transferable, null); | ||
} | ||
} |
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove line