Skip to content

master as of 22/12/22 #2

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

Open
wants to merge 296 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
296 commits
Select commit Hold shift + click to select a range
561b1a9
fix(Adhoc run): "Save as Favourite" in adhoc runs is working as expec…
manikanta-reddy-t Dec 27, 2022
a8e7f51
fix(TestSteps): Reorders the steps in correct format when while step …
manikanta-reddy-t Dec 28, 2022
944a075
fix(TestStep) : Fixes teststeps displaying as null in prerequisite se…
manikanta-reddy-t Dec 20, 2022
38c8b55
fix(Mobile Web): Not able to create Test plan when we select Android …
manikanta-reddy-t Dec 14, 2022
de4d5ec
refactor: Adds an index file to enums file and refactor changes
manikanta-reddy-t Dec 27, 2022
213e5c4
fix(Dryrun results): Adds Run and record buttons in "Test steps(Curre…
manikanta-reddy-t Dec 20, 2022
443e5ff
refactor: Adds Routing enum and url util and refactor changes.
manikanta-reddy-t Dec 26, 2022
8b1e703
refactor: Adds error checks while fetching
manikanta-reddy-t Dec 28, 2022
d0e4d5f
feat(TestStep): NLP Test Data Selection: Show test-data options when …
manikanta-reddy-t Jan 5, 2023
459f95a
fix : Microsoft Edge version in Windows
akash-nixon Jan 5, 2023
77c328f
Merge branch 'fix/TOS-863' into dev
manikanta-reddy-t Jan 5, 2023
ad9506a
Merge remote-tracking branch 'origin/dev' into dev
manikanta-reddy-t Jan 5, 2023
936ddab
Update server and agent versions to 2.6
tarun-testsigma Jan 6, 2023
35d443a
Update docker file server version and fix os version typo
tarun-testsigma Jan 7, 2023
d4fe429
fix: Fixed Uploads Deletion restriction, for uploads used in testcase…
Sai-Raksha-21 Jan 9, 2023
717e27a
Review Changes: Eliminated Delete Code Block for throwing exception.
Sai-Raksha-21 Jan 10, 2023
c0952bb
fix: Rerun status alignment fixed
akash-nixon Jan 11, 2023
a017919
fix(TestCase-Results): Deleted steps are not being updated till the p…
manikanta-reddy-t Jan 12, 2023
9ef3b6a
fix: changing placeholder in random data generator
akash-nixon Jan 20, 2023
cb98808
removing unnecessary else
akash-nixon Jan 23, 2023
d81d26d
[TOS-789]feat : When step group is deleted, it is not deleted in the …
akash-nixon Jan 23, 2023
f5c9d50
feat: Update server and agent versions to 2.7
tarun-testsigma Jan 23, 2023
a2685b0
fix: Allowing elements to have symbols and display element list (#274)
akash-nixon Jan 23, 2023
64455e2
[TOS-965]fix: fixing 'variable' spelling in store nlp (#273)
akash-nixon Jan 23, 2023
f3fba5f
[TOS-669] fix : Checking ipa architecture and ios emulator/real-devic…
akash-nixon Jan 24, 2023
5a392b5
fix(TestStepRepository) : element name change, changes in all version…
akash-nixon Jan 31, 2023
adc206c
[TOS-959] Not able to create and update the recorded element
tarun-testsigma Jan 31, 2023
edf6bef
(upload-form) fix upload for all workspace types
akash-nixon Jan 31, 2023
db32690
(upload-form) fix upload file name not changed when edited
akash-nixon Jan 31, 2023
725fbea
fix(TestSteps): When page is scrolled during local agent execution, t…
manikanta-reddy-t Jan 31, 2023
3dd5637
fix(TestStep):"Conditional IF" step is displayed in wrong order when …
manikanta-reddy-t Jan 31, 2023
1bd61b8
fix(Executions run button): fixes Green stop button is displayed in u…
manikanta-reddy-t Jan 31, 2023
d540384
[TOS-993] Upload version not working as expected
tarun-testsigma Jan 31, 2023
a11ddca
fix(test-case-details): removing step groups from test cases upon del…
akash-nixon Feb 1, 2023
b09ae04
fix(test-case-details): test case list is displayed under step group …
akash-nixon Feb 1, 2023
862c394
[TOS-963] fix: Test-data in addons is modified in action text (#276)
akash-nixon Feb 1, 2023
8d05e4d
[TOS-982] fix(TestcaseStepRunner): runtime variable fix for while loo…
akash-nixon Feb 1, 2023
e22a910
[TOS-994] Safari executions not working with Ventura OS
tarun-testsigma Feb 1, 2023
dcf44fc
[T0S-988]fix: UI changes for confirmation pop up (#291)
Sai-Raksha-21 Feb 2, 2023
601287b
Feat/tos 388 (#280)
tarun-testsigma Feb 2, 2023
51161cb
[TOS-992, 989] Do not Allow deletion of uploads when used in Test Pla…
Sai-Raksha-21 Feb 3, 2023
e88ebef
fix: nlp spelling name varible to variable
akash-nixon Feb 3, 2023
2a9b5d1
(fix): Update nlps and examples
tarun-testsigma Feb 3, 2023
f949e44
fix- add steps in both for-loop and while-loop
RagulSelvaraj Feb 3, 2023
afe95dd
Fix in displaying test-data in step summary
RagulSelvaraj Feb 3, 2023
8e69be2
(fix): Recorder step creation
tarun-testsigma Feb 3, 2023
8aaf0e5
fix in store nlp
RagulSelvaraj Feb 3, 2023
65192ad
(fix): Import and export test steps bug
tarun-testsigma Feb 3, 2023
2650998
[TOS-1009] (fix): Fixed execution failure with data generators
tarun-testsigma Feb 4, 2023
afcb80f
(fix): Show upload version in test step details
tarun-testsigma Feb 4, 2023
4a13715
[TOS-1007] (fix): Steps not creating when we record via mobile inspector
tarun-testsigma Feb 4, 2023
86f4ce5
(fix): While and for loop execution fix
tarun-testsigma Feb 4, 2023
2d82053
[TOS-1010] (fix): Fixed issue with attribute updation
tarun-testsigma Feb 4, 2023
7800167
[TOS-992] - Fixed Uploads Deletion for multi test data support (#293)
Sai-Raksha-21 Feb 6, 2023
9b1d5f6
Fix - Not able to create a test step with my addons
RagulSelvaraj Feb 6, 2023
0ab2aa2
[TOS-967] (fix): Workspace version number invalid format
tarun-testsigma Feb 6, 2023
fe99ae7
(fix): While loop not executing when imported
tarun-testsigma Feb 6, 2023
8e161b3
(fix): Added fixes for Ventura support
tarun-testsigma Feb 6, 2023
9221147
(fix): Fix bug while importing test cases from cloud
tarun-testsigma Feb 6, 2023
5d8dcb5
fix ->(TOS-1013)unable to clone a addon test-step
RagulSelvaraj Feb 7, 2023
d6d314a
[TOS-1005] (fix): Test step details displaying empty for recorded tes…
tarun-testsigma Feb 7, 2023
3a0ec9d
(fix): Added more info statements
tarun-testsigma Feb 7, 2023
01b59ac
(fix): Added log statements for platform os details
tarun-testsigma Feb 8, 2023
923d214
fix :removed the html tags stored in database
RagulSelvaraj Feb 8, 2023
7812ff2
(fix): Error in copying workspace versions
tarun-testsigma Feb 8, 2023
ed7da1c
(fix): Fix breaking changes in recorder test step model
tarun-testsigma Feb 8, 2023
0dfb73e
(fix): Fixed IOS local executions
tarun-testsigma Feb 8, 2023
e371703
[TOS-1019] (feat): Refactoring while loop
tarun-testsigma Feb 9, 2023
bc164bc
fix : addon test-step summary
RagulSelvaraj Feb 9, 2023
a895037
[TOS-1024] (fix): Not able to create step group in recorder
tarun-testsigma Feb 9, 2023
760884f
[TOS-1031] (feat): Auto increment step.position
tarun-testsigma Feb 10, 2023
5a84b7c
[TOS-1028] (fix): Multiple test data not displaying correct values in…
tarun-testsigma Feb 10, 2023
cc73fa3
[TOS-1029] (fix): Addons test steps displaying empty when we edit add…
tarun-testsigma Feb 10, 2023
f41d35a
(fix): Fix disabled ios uploads
tarun-testsigma Feb 10, 2023
6443a48
(fix): Element search for recorder
tarun-testsigma Feb 10, 2023
1d0db21
fix in prerequisite(TOS-1023)
RagulSelvaraj Feb 10, 2023
7c46079
fix in for-loop
RagulSelvaraj Feb 10, 2023
8d615e2
[TOS-1032] (fix): TDP parameter update failed for test steps
tarun-testsigma Feb 10, 2023
a5565d1
(fix): Increase wait time for installing wda
tarun-testsigma Feb 10, 2023
678a466
Revert "[TOS-669] fix : Checking ipa architecture and ios emulator/re…
tarun-testsigma Feb 11, 2023
bb52693
(fix): Increase wait time for starting wda relay process
tarun-testsigma Feb 11, 2023
7a1fff5
(fix): Correct typo
tarun-testsigma Feb 11, 2023
991c483
Revert "Revert "[TOS-669] fix : Checking ipa architecture and ios emu…
tarun-testsigma Feb 11, 2023
13c249b
(fix): Fix condition for checking wda process
tarun-testsigma Feb 11, 2023
c31f514
(fix): Fix while condition for wda relay status
tarun-testsigma Feb 11, 2023
6cd7664
Removed deleting a real ios device during emulators fetching
rajesh-testsigma Feb 11, 2023
4adc690
Removed updating device during emulator fetching
rajesh-testsigma Feb 11, 2023
1f16c6d
Update version in docker compose file
tarun-testsigma Feb 12, 2023
bbdde8e
(fix): Update migration file for updating natural text actions
tarun-testsigma Feb 12, 2023
ce28912
(fix): Update migration file for updating natural text action examples
tarun-testsigma Feb 12, 2023
c8d425e
[TOS-1047] [Recorder API] - NLP API responding old payload structure
tarun-testsigma Feb 14, 2023
193b375
[TOS-1048] [Recorder API] - Step kibbutzPluginData should be null by …
tarun-testsigma Feb 15, 2023
9b236f3
[TOS-1049] Delete respective child steps
tarun-testsigma Feb 15, 2023
31dcf37
Update server and agent versions to 2.7.1
tarun-testsigma Feb 15, 2023
574c97d
(fix): Fix while loop updates for recorder
tarun-testsigma Feb 15, 2023
273d980
feat(TE-7525): Import from OS to Cloud (#302)
rahul-testsigma Feb 16, 2023
8024392
(fix): Checksum calculation failed
tarun-testsigma Feb 16, 2023
1a04d86
(fix): Flyway schema error
tarun-testsigma Feb 16, 2023
71e23b2
(fix): Removed some commented lines
tarun-testsigma Feb 16, 2023
28dd0e5
(fix): Fix parent id for for while step
tarun-testsigma Feb 17, 2023
325a6c0
(fix): Revert changes for nlp templates id change
tarun-testsigma Feb 17, 2023
379a402
(fix): Revert bootstrap changes for nlp templates and examples
tarun-testsigma Feb 17, 2023
74dce7c
Revert to 2.7 version
tarun-testsigma Feb 17, 2023
7a27d90
(fix): Correct nlp template data format
tarun-testsigma Feb 17, 2023
aecc905
(fix): Fix migration files
tarun-testsigma Feb 17, 2023
54dd73b
(fix): Unable to calculate checksum
tarun-testsigma Feb 17, 2023
76cee3c
(fix): Group conditions in VerifyElementMobileWebProxyAction
tarun-testsigma Feb 20, 2023
58508be
(fix): Add multiple platforms for m1 docker build
tarun-testsigma Feb 20, 2023
6acee9c
(fix): Add more platform for docker build
tarun-testsigma Feb 20, 2023
ff9d33f
Update docker-build-m1.yml
tarun-testsigma Feb 20, 2023
7001bcc
Update docker-build-m1.yml
tarun-testsigma Feb 20, 2023
52648ab
(fix): Added log statement
tarun-testsigma Feb 20, 2023
f1d2c36
Revert commit
tarun-testsigma Feb 20, 2023
2587d2c
Update docker-build-m1.yml
tarun-testsigma Feb 20, 2023
7c96200
Update docker-build-m1.yml
tarun-testsigma Feb 20, 2023
f55d6a8
Revert "docker build command"
tarun-testsigma Feb 20, 2023
cef210f
Move to docker build
tarun-testsigma Feb 20, 2023
e3ce689
(fix): npm install failed(https://stackoverflow.com/questions/6939463…
tarun-testsigma Feb 20, 2023
719d06e
(fix): Change to buildx
tarun-testsigma Feb 20, 2023
8b4f63f
Update docker-build-m1.yml
tarun-testsigma Feb 20, 2023
e90c4d4
Remove unnecessary platform
tarun-testsigma Feb 20, 2023
a2f91a3
Fix buildx command
tarun-testsigma Feb 20, 2023
1c7a6d4
Fix docker platform
tarun-testsigma Feb 20, 2023
c677e1e
(fix): Set up docker qemu for github workflows
tarun-testsigma Feb 21, 2023
e7a900e
Revert "(fix): Set up docker qemu for github workflows"
tarun-testsigma Feb 21, 2023
4b90436
Update docker-build-m1.yml
tarun-testsigma Feb 21, 2023
d13c072
Update docker-build.yml
tarun-testsigma Feb 21, 2023
6b90d86
Merge pull request #294 from testsigmahq/feat/TOS-2.7
rajesh-testsigma Feb 21, 2023
e964d5c
fix(get-started-base): removed the date format for query (#314)
akash-nixon Feb 23, 2023
c6b67fd
[font compile ] added new icons from the cloud to os
ManoharKrishnaBoppe Feb 23, 2023
e3f05a2
[font compile ] added new icons from the cloud to os
ManoharKrishnaBoppe Feb 23, 2023
98fb8b9
[TOS-260] fix(bootstrap_action_examples): replacing app.testsigma to …
akash-nixon Feb 27, 2023
fadc68a
[TOS-336] fix(UploadFileAction): removing '\' in temp dir path (#312)
akash-nixon Feb 27, 2023
da7cc0a
[TOS-1054] fix(dry-run-form) : fixed run button validation (#311)
akash-nixon Feb 27, 2023
42579c5
[TOS-983] fix(action-step-form) : adding if condition for setting tes…
akash-nixon Feb 27, 2023
2ae0ffe
[TOS-968] fix(lab-environments-info) : added support for OS icon in t…
akash-nixon Feb 27, 2023
0d4a240
Fix[TOS-966] : Test Plan Descriptions collapsed in run results window…
Sai-Raksha-21 Feb 27, 2023
ee7f5f2
[TOS-254] fix(list.component) : Changing the text for empty trash tes…
akash-nixon Feb 27, 2023
8565b6d
(feat): Add nested steps in the test steps API for the response (#315)
tarun-testsigma Feb 27, 2023
a4e1034
Feat/tos 915 For loop to action based steps (#317)
tarun-testsigma Feb 27, 2023
b4e381a
(fix): Rename migration file
tarun-testsigma Feb 27, 2023
461bcd9
fix in write-value nlp suggestion
RagulSelvaraj Feb 28, 2023
41045b9
fix in clone button is disabled for [for-loop-nlp]
RagulSelvaraj Feb 28, 2023
b4ea942
(fix): For loop execution fixes
tarun-testsigma Feb 28, 2023
0022e48
(fix): ForLoopCondition changes for recorder
tarun-testsigma Mar 1, 2023
e557ce4
(feat): Allow empty checks for for loop
tarun-testsigma Mar 1, 2023
1fc5198
Fix[TOS-969]: Added IF check for Hybrid in the fetch platforms functi…
Sai-Raksha-21 Mar 1, 2023
ff29634
fix in for-loop-result
RagulSelvaraj Mar 1, 2023
e1ce806
(fix): Return forLoopCondition as test step result metadata
tarun-testsigma Mar 2, 2023
cc63d05
Fix[TOS-774]: Removed if condition to allow population of element det…
Sai-Raksha-21 Mar 2, 2023
68cb8e9
Revert "[font compile ] added new icons from the cloud to os"
tarun-testsigma Mar 2, 2023
a832ab7
Revert "[font compile ] added new icons from the cloud to os"
tarun-testsigma Mar 2, 2023
26e1f1a
(fix): Check condition type in test step for FOR LOOP
tarun-testsigma Mar 2, 2023
0de96d1
Fix -Revert the condition type in test-steps
RagulSelvaraj Mar 2, 2023
d1d670a
fix(test-step.model) : fixed the if condition for parsedStep (#320)
akash-nixon Mar 2, 2023
5b0774d
fix in [test-step-result] & [for-loop-step numbering in dry runs]
RagulSelvaraj Mar 2, 2023
d2f48df
(fix): Update for loop test step
tarun-testsigma Mar 2, 2023
804c0ea
[TOS-1082] (fix): Fixed issue with cloning test case with for loop
tarun-testsigma Mar 2, 2023
9ba1ae6
(fix): Recorded elements displaying like ${element}
tarun-testsigma Mar 2, 2023
f6e7a9f
Fix[TOS-1074]-The parameter list not displaying on the test data over…
RagulSelvaraj Mar 3, 2023
fc71407
(fix): Recorder issues with for loop
tarun-testsigma Mar 3, 2023
a556259
(fix): Fix Operator model for for loop nlps
tarun-testsigma Mar 3, 2023
7d8ea92
(fix): Fix issue with test step updation
tarun-testsigma Mar 3, 2023
7f5469b
(fix): Migration error
tarun-testsigma Mar 3, 2023
2529ee7
(fix): Fix migration issue from 2.7 to 2.8
tarun-testsigma Mar 3, 2023
26679c5
(fix): Fix for loop steps not displaying on results page
tarun-testsigma Mar 3, 2023
b13de4c
(fix): Migrate old step results and fix execution flow
tarun-testsigma Mar 4, 2023
dbb16aa
(fix): Fix teststepDTO model file
tarun-testsigma Mar 4, 2023
825292e
(fix): Fix export and import bugs
tarun-testsigma Mar 4, 2023
2aae88c
(fix): Schedule test step results migration every 3 minutes
tarun-testsigma Mar 4, 2023
8e6bf80
(fix): Bug fix
tarun-testsigma Mar 6, 2023
1ffa2be
fix:[TOS-1087]-For loop data displaying empty in inside the step group
RagulSelvaraj Mar 6, 2023
ab9e914
Update docker compose version
tarun-testsigma Mar 6, 2023
0b1f5d2
Added comments in docker compose
tarun-testsigma Mar 6, 2023
1f7a411
(fix): Bug fix for for loop condition
tarun-testsigma Mar 6, 2023
38e74cf
fix:[TOS-1086] - Test data profile displaying undefined after update …
RagulSelvaraj Mar 6, 2023
5363e53
(fix): Iterations being executed even when condition not matched
tarun-testsigma Mar 6, 2023
5085293
(fix): Fix attaching test data profile bug
tarun-testsigma Mar 6, 2023
6b212a8
fix in testDataFunctionId for data generator
RagulSelvaraj Mar 6, 2023
abd7d4c
fix:[TOS-1068] - fix in data Generator
RagulSelvaraj Mar 7, 2023
32a3ff3
(feat): Selenium 4 upgrade part 1
gayathri-testsigma Mar 7, 2023
03a43b6
TRD-217_upgrade
vikramvr20 Mar 7, 2023
b03c05d
Merge remote-tracking branch 'origin/TRD-217_upgrade' into selenium4
gayathri-testsigma Mar 7, 2023
db730c9
(feat): merge conflicts
gayathri-testsigma Mar 7, 2023
aaeb6d4
(fix): Fix bug for test data function
tarun-testsigma Mar 7, 2023
9c3ad06
Made changes wrt to appium java client 8
vikramvr20 Mar 7, 2023
5098241
fix in testdataProfileId
RagulSelvaraj Mar 7, 2023
7412046
(fix): Flyway repair for V55 migration file
tarun-testsigma Mar 8, 2023
57bd4d5
(fix): Flyway migration fix
tarun-testsigma Mar 8, 2023
b527d0c
fix in for-loop-nlp-dropdown
RagulSelvaraj Mar 9, 2023
b83b463
fix[TOS-1083] - Focus on next dropdowns and should open the dropdown …
RagulSelvaraj Mar 9, 2023
c90c6f6
Revert "Revert "[font compile ] added new icons from the cloud to os""
akash-nixon Mar 10, 2023
4d0abd6
Revert "Revert "[font compile ] added new icons from the cloud to os""
akash-nixon Mar 10, 2023
defc58f
(feat): dependency updates
gayathri-testsigma Mar 14, 2023
a234597
fix merging capabailities
gayathri-testsigma Mar 14, 2023
c0149fe
Merge pull request #325 from testsigmahq/feat/TOS-2.8
rajesh-testsigma Mar 14, 2023
5e65de5
Feat/tos 2.9 (#347)
tarun-testsigma Mar 20, 2023
7ad4771
(feat): selenium fixes
gayathri-testsigma Mar 21, 2023
132fc69
[TOS-1101] (fix): Not able to create test step with disable, visual t…
tarun-testsigma Mar 23, 2023
df27811
[TOS-1099] (fix): ELSE IF test not working as expected
tarun-testsigma Mar 23, 2023
483c7a7
Revert "[TOS-1101] (fix): Not able to create test step with disable, …
tarun-testsigma Mar 23, 2023
cf808b1
Upgrade server and agent versions to 2.9.1
tarun-testsigma Mar 23, 2023
8542084
Upgrade docker server version
tarun-testsigma Mar 24, 2023
2ab5966
feat: selenium 4 latest dependency
gayathri-testsigma Apr 5, 2023
61195a3
selenium 4 minor changes
gayathri-testsigma Apr 5, 2023
a07855f
Merge branch 'dev' into selenium4
gayathri-testsigma Apr 5, 2023
6482009
TRD-217
vikramvr20 Apr 24, 2023
ee23069
feat(Se4): fixes
gayathri-testsigma Apr 26, 2023
99552e1
TRD-217
vikramvr20 May 2, 2023
19eab55
fix(se4): remove hardcoded desired capability
gayathri-testsigma May 3, 2023
9f573a4
Merge branch 'selenium4' of https://github.com/testsigmahq/testsigma …
gayathri-testsigma May 3, 2023
c06fd97
fix(se4): address review comment
gayathri-testsigma May 4, 2023
09f1b45
TRD-217
vikramvr20 May 8, 2023
083eb0a
TRD-217
vikramvr20 May 8, 2023
bec7769
TRD-217
vikramvr20 May 9, 2023
942ae33
TRD-217
vikramvr20 May 16, 2023
a91f012
TRD-217
vikramvr20 May 16, 2023
052178a
TRD-217
vikramvr20 May 16, 2023
37fc43d
Updated SECURITY.md
Santhosh-testsigma May 17, 2023
df5070f
Merge pull request #361 from testsigmahq/fix/update-security-readme
kamesh-testsigma May 17, 2023
7aaf834
TRD-217
vikramvr20 May 18, 2023
4e52ce4
TRD-217
vikramvr20 May 19, 2023
6223dc4
TRD-217
vikramvr20 May 22, 2023
8be562e
TRD-217
vikramvr20 May 22, 2023
7f83678
TRD-217
vikramvr20 May 22, 2023
ca66b72
TRD-217
vikramvr20 May 23, 2023
e3883f6
(feat): private grid + se4 features
gayathri-testsigma May 25, 2023
334a08a
(feat): grid fixes
gayathri-testsigma May 26, 2023
42b88e0
fixes for grid
gayathri-testsigma May 26, 2023
ab37e02
(feat): Element level screenshot
gayathri-testsigma May 29, 2023
8c0dd8d
(feat): Driver Manager
gayathri-testsigma Jun 2, 2023
62dcbdd
TRD-217
vikramvr20 Jun 6, 2023
47a9d84
bug: name for edge browser is changed in grid4
gayathri-testsigma Jun 8, 2023
9779297
TRD-217
vikramvr20 Jun 9, 2023
6146b41
TRD-217
vikramvr20 Jun 13, 2023
374a7a1
TRD-217
vikramvr20 Jun 13, 2023
b1b94f6
chore: remove unused imports
gayathri-testsigma Jun 13, 2023
349fd98
Merge branch 'selenium4' of https://github.com/testsigmahq/testsigma …
gayathri-testsigma Jun 13, 2023
e8967b4
Merge branch 'dev' into selenium4
gayathri-testsigma Jun 13, 2023
d8ba1e4
chore: remove unused imports
gayathri-testsigma Jun 13, 2023
0732973
chore: code style fixes
gayathri-testsigma Jun 13, 2023
634f468
TRD-217
vikramvr20 Jun 13, 2023
bbe930a
Merge branch 'selenium4' of https://github.com/testsigmahq/testsigma …
vikramvr20 Jun 13, 2023
50889d9
bug: name key in desiredcap for local run
gayathri-testsigma Jun 13, 2023
842c2b8
Merge pull request #360 from testsigmahq/selenium4
PratheepV Jun 24, 2023
3834f1f
Upgrade docker server version to 3.0.0
vikram-chaitanya Jun 26, 2023
2746b01
[TE-11836]: upgrade web-driver manager
gayathri-testsigma Aug 24, 2023
8779395
[TE-11836]: upgrade web-driver manager (#369)
gayathri-testsigma Aug 24, 2023
90077d7
[TE-11836]: version upgrade
gayathri-testsigma Aug 24, 2023
9e98d55
Merge pull request #370 from testsigmahq/driver-manager-upgrade
gayathri-testsigma Aug 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 6 additions & 3 deletions .github/workflows/docker-build-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,17 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: 'us-east-1'
AWS_DEFAULT_OUTPUT: json
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Building
run: |
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: 'us-east-1'
AWS_DEFAULT_OUTPUT: json

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Building
run: |
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

We extend our sincere gratitude to anyone who reports vulnerabilities to Testsigma Community. These reports are comprehensively investigated by community volunteers as well as Testsigma Team.

To report a security issue, please email us at [[email protected]](mailto:[email protected]) with a detailed overview and necessary information attached. At this juncture, we don't have a bug bounty program. We are a small team trying to solve a big problem. We urge you to report any vulnerabilities responsibly so that we can continue building a secure application for the entire community.
To report a security issue, please email us at [[email protected]](mailto:[email protected]) with a detailed overview and necessary information attached. For more details, visit the [Vulnerability Disclosure Program](https://testsigma.com/vulnerability-reporting-program). We urge you to report any vulnerabilities responsibly so that we can continue building a secure application for the entire community.

### When Should I Report a Vulnerability?

Expand Down
2 changes: 1 addition & 1 deletion agent-launcher/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</plugins>
</build>
<properties>
<lombok.version>1.18.10</lombok.version>
<lombok.version>1.18.22</lombok.version>
<systemtray.version>3.17</systemtray.version>
<maven.compiler.plugin>3.8.1</maven.compiler.plugin>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion agent-launcher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<maven.compiler.plugin>3.8.1</maven.compiler.plugin>
<commons.lang.version>3.4</commons.lang.version>
<systemtray.version>3.17</systemtray.version>
<lombok.version>1.18.10</lombok.version>
<lombok.version>1.18.22</lombok.version>
<httpcomponents.version>4.5.13</httpcomponents.version>
</properties>

Expand Down
10 changes: 9 additions & 1 deletion agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.plugin>3.8.1</maven.compiler.plugin>
<lombok.version>1.18.20</lombok.version>
<selenium.version>4.8.2</selenium.version>
<guava.version>31.1-jre</guava.version>
<lombok.version>1.18.22</lombok.version>
<mapstruct.version>1.4.2.Final</mapstruct.version>
<aws.version>1.11.46</aws.version>
<android.tools.version>25.3.0</android.tools.version>
Expand Down Expand Up @@ -139,6 +141,12 @@
<groupId>com.android.tools.ddms</groupId>
<artifactId>ddmlib</artifactId>
<version>${android.tools.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
@Log4j2
public class TestsigmaAgent {
public static void main(String[] args) {
System.setProperty("webdriver.http.factory", "jdk-http-client");
String wrapperPort = System.getProperty("agent.wrapper.port");
if (StringUtils.isNotBlank(wrapperPort)) {
WrapperConnector.getInstance().disconnectHook();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

Expand Down Expand Up @@ -55,9 +53,9 @@ public static ArrayList<String> getCommandOutput(String[] command) {

}

public ArrayList<AgentBrowser> getBrowserList() {
public Set<AgentBrowser> getBrowserList() {

ArrayList<AgentBrowser> browserList = new ArrayList<>();
Set<AgentBrowser> browserList = new HashSet<>();
for (OsBrowserType browserType : browsersMap.keySet()) {
String browserName = browsersMap.get(browserType);
ArrayList<String> arrayList = getCommandOutput(new String[]{"which", browserName});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.TimeUnit;

@Log4j2
Expand All @@ -33,8 +35,8 @@ public MacBrowsers() {
this.browsersMap = OsBrowserMap.getInstance().getBrowserMap();
}

public ArrayList<AgentBrowser> getBrowserList() {
ArrayList<AgentBrowser> browserList = new ArrayList<>();
public Set<AgentBrowser> getBrowserList() {
Set<AgentBrowser> browserList = new HashSet<>();

try {
if (runApplicationListCommand()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
import java.util.Map.Entry;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
Expand Down Expand Up @@ -83,9 +81,9 @@ private static String getBrowserVersionFromExe(String browserExecutablePath) {
return browserVersion;
}

public ArrayList<AgentBrowser> getBrowserList() throws Exception {
public Set<AgentBrowser> getBrowserList() throws Exception {

ArrayList<AgentBrowser> browserList = new ArrayList<>();
Set<AgentBrowser> browserList = new HashSet<>();
int arch = System.getProperty("os.arch").contains("64") ? 64 : 32;

String nodeValue = (arch == 32) ? "" : "WOW6432Node";
Expand Down Expand Up @@ -197,7 +195,7 @@ private String getEdgeVersion() {
String version = NOT_FOUND;
String edgeRegKey = searchRegistryByPattern(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\",
".*(Microsoft Edge.*)");
".*(Microsoft Edge$)");

if (StringUtils.isNotBlank(edgeRegKey)) {
version = searchRegistryByPattern(
Expand All @@ -208,7 +206,7 @@ private String getEdgeVersion() {
if (StringUtils.isBlank(version) || NOT_FOUND.equals(version)) {
edgeRegKey = searchRegistryByPattern(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\",
".*(Microsoft Edge.*)");
".*(Microsoft Edge$)");

if (StringUtils.isNotBlank(edgeRegKey)) {
version = searchRegistryByPattern(
Expand All @@ -220,9 +218,14 @@ private String getEdgeVersion() {

if (StringUtils.isBlank(version) || NOT_FOUND.equals(version)) {
String registryKey = "HKEY_CLASSES_ROOT\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppModel\\PackageRepository\\Packages";
String regexPattern = ".*Microsoft.MicrosoftEdge_(.*)";
String regexPattern = ".*Microsoft.MicrosoftEdge.Stable_(.*)";
String regValue = searchRegistryByPattern(registryKey, regexPattern);
version = regValue.split("_")[0];
if(StringUtils.isBlank(version) || NOT_FOUND.equals(version)) {
regexPattern = ".*Microsoft.MicrosoftEdge_(.*)";
regValue = searchRegistryByPattern(registryKey, regexPattern);
version = regValue.split("_")[0];
}
}
if (version.equals(NOT_FOUND))
version = getBrowserVersionFromExe("Microsoft\\Edge\\Application\\msedge.exe");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

package com.testsigma.agent.controllers;

import com.testsigma.agent.browsers.AgentBrowser;
import com.testsigma.agent.config.AgentConfig;
import com.testsigma.agent.constants.AgentOs;
import com.testsigma.agent.dto.AgentDTO;
Expand All @@ -19,6 +20,7 @@
import com.testsigma.agent.services.AgentService;
import com.testsigma.agent.ws.server.AgentWebServer;
import com.fasterxml.jackson.core.type.TypeReference;
import com.testsigma.automator.entity.OsBrowserType;
import com.testsigma.automator.http.HttpResponse;
import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2;
Expand All @@ -28,8 +30,10 @@
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import java.util.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.stream.Collectors;

@Log4j2
@RestController
Expand Down Expand Up @@ -57,7 +61,7 @@ public ResponseEntity<String> register(@PathVariable("uuid") String uuid,
agentDTO.setHostName(hostName);
agentDTO.setOsVersion(AgentService.getOsVersion());
agentDTO.setAgentVersion(this.agentConfig.getAgentVersion());
agentDTO.setBrowserList(agentBrowserService.getBrowserList());
agentDTO.setBrowserList(getUniqueBrowsersList(agentBrowserService.getBrowserList()));
agentDTO.setHostName(hostName);
agentDTO.setOsType(osType);

Expand All @@ -84,4 +88,20 @@ public ResponseEntity<String> register(@PathVariable("uuid") String uuid,
}
return response;
}
private Set<AgentBrowser> getUniqueBrowsersList(Set<AgentBrowser> browsers){
Set<AgentBrowser> set = browsers.stream().collect(Collectors.toSet());
HashMap<OsBrowserType,AgentBrowser> browserMap = new HashMap<>();
for(AgentBrowser set1 : set){
if(browserMap.containsKey(set1.getName())){
if(browserMap.get(set1.getName()).getMajorVersion()<set1.getMajorVersion()){
browserMap.put(set1.getName(),set1);
}
}
else {
browserMap.put(set1.getName(),set1);
}
}
Set<AgentBrowser> browserList= new HashSet<>(browserMap.values());
return browserList;
}
}
3 changes: 2 additions & 1 deletion agent/src/main/java/com/testsigma/agent/dto/AgentDTO.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import lombok.ToString;

import java.util.List;
import java.util.Set;

@Data
public class AgentDTO {
Expand All @@ -24,7 +25,7 @@ public class AgentDTO {
private String hostName;
private String osVersion;
private Boolean isRegistered;
private List<AgentBrowser> browserList;
private Set<AgentBrowser> browserList;
private String agentBuild;
private String ipAddress;
private String title;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.testsigma.agent.mappers.MobileDeviceMapper;
import com.fasterxml.jackson.core.type.TypeReference;
import com.testsigma.automator.AutomatorConfig;
import com.testsigma.automator.drivers.DriversUpdateService;
import com.testsigma.automator.entity.Browsers;
import com.testsigma.automator.entity.OsBrowserType;
import com.testsigma.automator.exceptions.AutomatorException;
Expand Down Expand Up @@ -97,7 +96,6 @@ public void syncBrowserDrivers(MobileDevice mobileDevice) {
Browsers browser = OsBrowserType.getBrowserType(browserType);
String driverPath = AutomatorConfig.getInstance().getAppBridge().getDriverExecutablePath(browser.getKey(),
browserVersion);
new DriversUpdateService().syncBrowserDriver(browserType, browserVersion, driverPath);
} catch (AutomatorException e) {
log.error(e.getMessage(), e);
}
Expand Down
Loading