0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-03-16 14:23:33 +00:00
Commit graph

25 commits

Author SHA1 Message Date
Clemente Raposo
ceb55e18b5 Run rector on tests folder 2023-07-18 15:53:47 +01:00
Dillon-Brown
f12c65cd54 Update workflow acceptance test
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-10-06 15:08:55 +01:00
Dillon-Brown
66954ac3af Merge remote-tracking branch 'upstream/hotfix-7.10.x' into hotfix
# Conflicts:
#	.travis.yml
#	README.md
#	data/SugarBean.php
#	include/MVC/View/SugarView.php
#	include/Smarty/plugins/function.fetch.php
#	include/SugarFields/Fields/File/SugarFieldFile.php
#	include/SugarObjects/templates/person/Person.php
#	include/SugarXHprof/SugarXHprof.php
#	include/SugarXHprof/xhprof_lib/utils/xhprof_runs.php
#	include/nusoap/class.nusoap_base.php
#	include/nusoap/class.soap_transport_http.php
#	include/nusoap/class.soapclient.php
#	include/nusoap/class.wsdl.php
#	include/nusoap/class.wsdlcache.php
#	include/parsecsv.lib.php
#	include/social/get_feed_data.php
#	include/tcpdf/barcodes.php
#	lib/Robo/Plugin/Commands/CodeCoverageCommands.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Storage/File.php
#	modules/AOR_Charts/lib/pChart/class/pBarcode128.class.php
#	modules/AOR_Charts/lib/pChart/class/pBarcode39.class.php
#	modules/AOR_Charts/lib/pChart/class/pCache.class.php
#	modules/AOR_Charts/lib/pChart/class/pData.class.php
#	modules/AOR_Charts/lib/pChart/class/pDraw.class.php
#	modules/AOR_Charts/lib/pChart/class/pImage.class.php
#	modules/AOR_Charts/lib/pChart/class/pSpring.class.php
#	modules/AOS_PDF_Templates/templateParser.php
#	modules/AOS_Products/AOS_Products.php
#	modules/AOW_Actions/FormulaCalculator.php
#	modules/AOW_WorkFlow/aow_utils.php
#	modules/Trackers/store/DatabaseStore.php
#	phpcs.xml
#	service/core/REST/SugarRest.php
#	service/example/Rest_Proxy.php
#	suitecrm_version.php
#	tests/SuiteCRM/Test/SuitePHPUnit_Framework_TestCase.php
#	tests/unit/phpunit/data/SugarBeanTest.php
#	tests/unit/phpunit/include/MVC/Controller/SugarControllerTest.php
#	tests/unit/phpunit/include/MVC/SugarApplicationTest.php
#	tests/unit/phpunit/include/MVC/View/SugarViewTest.php
#	tests/unit/phpunit/include/MVC/View/views/view.editTest.php
#	tests/unit/phpunit/include/utils/securityUtilsTest.php
#	tests/unit/phpunit/modules/ACLActions/ACLActionTest.php
#	tests/unit/phpunit/modules/Emails/EmailTest.php
#	tests/unit/phpunit/modules/ProspectLists/ProspectListTest.php
#	tests/unit/phpunit/modules/SchedulersJobs/SchedulersJobTest.php
#	tests/unit/phpunit/modules/UserPreferences/UserPreferenceTest.php
#	themes/SuiteP/css/Dawn/style.css
#	themes/SuiteP/css/Day/style.css
#	themes/SuiteP/css/Dusk/style.css
#	themes/SuiteP/css/Night/style.css
2019-09-20 14:53:13 +01:00
Mac Rae
be0e01733d
Merge pull request from Dillon-Brown/fix/inspections_compat
Fix/inspections compat
2019-09-18 13:07:57 +01:00
Dillon-Brown
a877483e0d Replace rand with mt_rand 2019-08-05 16:31:26 +01:00
Dillon Brown
020421ba86
Merge branch 'hotfix-7.10.x' into fix/inspections_import 2019-08-05 15:40:40 +01:00
Dillon-Brown
18eb0f0360 Merge branch 'hotfix-7.10.x' into hotfix_merge_14
# Conflicts:
#	.gitignore
#	README.md
#	data/Relationships/One2MBeanRelationship.php
#	data/SugarBean.php
#	files.md5
#	include/HTMLPurifier/HTMLPurifier.standalone.php
#	include/HTTP_WebDAV_Server/Server.php
#	include/HTTP_WebDAV_Server/Tools/_parse_lockinfo.php
#	include/HTTP_WebDAV_Server/Tools/_parse_propfind.php
#	include/HTTP_WebDAV_Server/Tools/_parse_proppatch.php
#	include/MassUpdate.php
#	include/Pear/XML_HTMLSax3/HTMLSax3/States.php
#	include/Smarty/Smarty.class.php
#	include/Smarty/Smarty_Compiler.class.php
#	include/Smarty/internals/core.get_php_resource.php
#	include/Smarty/internals/core.is_trusted.php
#	include/Smarty/internals/core.process_cached_inserts.php
#	include/Smarty/internals/core.process_compiled_include.php
#	include/Smarty/internals/core.read_cache_file.php
#	include/Smarty/internals/core.write_cache_file.php
#	include/Smarty/internals/core.write_compiled_include.php
#	include/Smarty/plugins/block.minify.php
#	include/Smarty/plugins/function.config_load.php
#	include/Smarty/plugins/function.html_select_date.php
#	include/Smarty/plugins/function.html_select_time.php
#	include/Smarty/plugins/modifier.spacify.php
#	include/Smarty/plugins/modifier.truncate.php
#	include/Smarty/plugins/outputfilter.trimwhitespace.php
#	include/Smarty/plugins/shared.make_timestamp.php
#	include/SugarXHprof/xhprof_lib/display/xhprof.php
#	include/SugarXHprof/xhprof_lib/utils/callgraph_utils.php
#	include/SugarXHprof/xhprof_lib/utils/xhprof_lib.php
#	include/javascript/checkbox.js
#	include/nusoap/class.soap_parser.php
#	include/nusoap/class.xmlschema.php
#	include/pclzip/pclzip.lib.php
#	include/php-sql-parser.php
#	include/phpmailer/class.phpmailer.php
#	include/phpmailer/extras/htmlfilter.php
#	include/reCaptcha/recaptchalib.php
#	include/social/facebook/facebook_sdk/src/base_facebook.php
#	include/social/facebook/facebook_sdk/src/facebook.php
#	include/social/facebook/facebook_sdk/tests/tests.php
#	include/tcpdf/tcpdf.php
#	include/utils/zip_utils.php
#	install.php
#	lib/Robo/Plugin/Commands/BuildCommands.php
#	lib/Robo/Plugin/Commands/CleanCacheCommands.php
#	lib/Robo/Plugin/Commands/TestEnvironmentCommands.php
#	lib/Robo/Traits/CliRunnerTrait.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Document/Html.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentInfo.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentMerger.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentWriter.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentWriter/DocumentWriter.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentWriter/StreamWriter.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Index/Writer.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Boolean.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Fuzzy.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/MultiTerm.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Phrase.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Preprocessing/Fuzzy.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Preprocessing/Phrase.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Preprocessing/Term.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/QueryEntry/Phrase.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/QueryEntry/Term.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/QueryLexer.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/QueryParser.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Weight/Boolean.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Weight/MultiTerm.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Weight/Phrase.php
#	modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Weight/Term.php
#	modules/AOR_Reports/AOR_Report.php
#	modules/AOR_Scheduled_Reports/metadata/subpaneldefs.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/barcode.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/bmp.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/cssmgr.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/directw.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/form.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/grad.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/indic.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/meter.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/svg.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/tocontents.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/ttfontsuni.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/ttfontsuni_analysis.php
#	modules/AOS_PDF_Templates/PDF_Lib/classes/wmf.php
#	modules/AOS_PDF_Templates/PDF_Lib/config_cp.php
#	modules/AOS_PDF_Templates/PDF_Lib/graph.php
#	modules/AOS_PDF_Templates/PDF_Lib/includes/functions.php
#	modules/AOS_PDF_Templates/PDF_Lib/includes/out.php
#	modules/AOS_PDF_Templates/PDF_Lib/mpdf.php
#	modules/AOS_PDF_Templates/PDF_Lib/mpdfi/filters/FilterASCII85.php
#	modules/AOS_PDF_Templates/PDF_Lib/mpdfi/filters/FilterLZW.php
#	modules/AOS_PDF_Templates/PDF_Lib/mpdfi/fpdi_pdf_parser.php
#	modules/AOS_PDF_Templates/PDF_Lib/mpdfi/pdf_context.php
#	modules/AOS_PDF_Templates/PDF_Lib/mpdfi/pdf_parser.php
#	modules/AOS_PDF_Templates/PDF_Lib/utils/font_coverage.php
#	modules/AOS_PDF_Templates/PDF_Lib/utils/font_dump.php
#	modules/AOS_PDF_Templates/PDF_Lib/utils/font_names.php
#	modules/AOW_WorkFlow/AOW_WorkFlow.php
#	modules/Contacts/Contact.php
#	modules/Emails/views/view.compose.php
#	modules/FP_events/controller.php
#	modules/UpgradeWizard/silentUpgrade.php
#	modules/UpgradeWizard/silentUpgrade_step1.php
#	modules/Users/authentication/SAML2Authenticate/lib/onelogin/php-saml/lib/Saml2/Response.php
#	service/core/SoapHelperWebService.php
#	service/v2/registry.php
#	service/v2_1/registry.php
#	service/v3/SugarWebServiceUtilv3.php
#	service/v3/registry.php
#	service/v3_1/registry.php
#	service/v4/registry.php
#	service/v4_1/SugarWebServiceImplv4_1.php
#	service/v4_1/registry.php
#	soap/SoapHelperFunctions.php
#	soap/SoapPortalUsers.php
#	soap/SoapSugarUsers.php
#	suitecrm_version.php
#	tests/_support/Step/Acceptance/Accounts.php
#	tests/acceptance/Core/BasicModuleCest.php
#	tests/acceptance/Core/CompanyModuleCest.php
#	tests/acceptance/Core/FileModuleCest.php
#	tests/acceptance/Core/IssueModuleCest.php
#	tests/acceptance/Core/ModuleBuilderFieldsCest.php
#	tests/acceptance/Core/PersonModuleCest.php
#	tests/acceptance/Core/SaleModuleCest.php
#	tests/acceptance/modules/AOW_Workflow/AOW_WorkflowCest.php
#	tests/acceptance/modules/Accounts/AccountsCest.php
#	tests/acceptance/modules/Activities/ActivitiesCest.php
#	tests/acceptance/modules/Calls/CallsCest.php
#	tests/acceptance/modules/Cases/CasesCest.php
#	tests/acceptance/modules/Contracts/ContractsCest.php
#	tests/acceptance/modules/History/HistoryCest.php
#	tests/acceptance/modules/Opportunities/OpportunitiesCest.php
#	tests/acceptance/modules/Users/UsersCest.php
#	tests/acceptance/modules/jjwg_Maps/jjwg_MapsCest.php
#	themes/SuiteP/css/Dawn/style.css
#	themes/SuiteP/css/Day/style.css
#	themes/SuiteP/css/Dusk/style.css
#	themes/SuiteP/css/Night/style.css
2019-07-25 13:00:22 +01:00
Connor Shea
275439c223 Remove lastView variables from tests.
They haven't been used since the flaky tests were fixed, so they can
be removed.
2019-07-19 13:31:20 -06:00
Dillon-Brown
8eb9dbf1c2 PSR-2 2019-07-04 17:06:34 +01:00
Connor Shea
3a0209d206 Remove unused webDriverHelper variables
Throughout the acceptance test suite the webDriverHelper was unused
after navigating to the root URL was moved into the login helper.

This cleans all of those up.
2019-06-26 11:20:00 -06:00
Dillon-Brown
61c481027a Merge remote-tracking branch 'upstream/hotfix-7.10.x' into hotfix_merge_13
# Conflicts:
#	.travis.yml
#	README.md
#	composer.json
#	composer.lock
#	lib/API/v8/Library/ModulesLib.php
#	modules/Home/index.php
#	suitecrm_version.php
#	tests/_support/Helper/WebDriverHelper.php
#	tests/acceptance/modules/AOW_Workflow/AOW_WorkflowCest.php
#	tests/unit/phpunit/data/SugarBeanTest.php
#	tests/unit/phpunit/include/MVC/SugarApplicationTest.php
#	tests/unit/phpunit/include/MVC/View/views/view.ajaxuiTest.php
#	tests/unit/phpunit/include/MVC/View/views/view.classicTest.php
#	tests/unit/phpunit/include/MVC/View/views/view.importvcardsaveTest.php
#	tests/unit/phpunit/include/MVC/View/views/view.sugarpdfTest.php
#	tests/unit/phpunit/lib/SuiteCRM/Utility/CurrentLanguageTest.php
#	tests/unit/phpunit/lib/SuiteCRM/Utility/ModuleLanguageTest.php
#	tests/unit/phpunit/lib/SuiteCRM/Utility/SuiteLoggerTest.php
#	tests/unit/phpunit/modules/ACLActions/ACLActionTest.php
#	tests/unit/phpunit/modules/AOS_Products/AOS_ProductsTest.php
2019-06-26 09:45:53 +01:00
Connor Shea
8e5dd0d995 Add page visit to login function to avoid duplication.
This also removes `$I->amOnUrl($webDriverHelper->getInstanceURL())`
from all files where it precedes the loginAsAdmin function,
since it's now in the loginAsAdmin function.
2019-06-19 12:55:51 -06:00
Connor Shea
31ca736432 Disable testScenarioDeleteWorkflow.
The test is dependent on another test's state, so I added
some login code and then disabled it.
2019-06-18 12:22:32 -06:00
Dillon-Brown
4e99bfba5a Unused Import 2019-04-17 04:07:46 +01:00
Gyula Madarasz
30d2076bf0 adding test for elasticsearch and test code refact 2019-01-03 14:03:25 +00:00
Gyula Madarasz
00a5c941b0 re-adding tests 2018-12-20 13:04:52 +00:00
Dillon-Brown
bd4cf81608 Fixed - ChangePassword.php - syntax error missing curly braces 2018-09-26 11:03:11 +01:00
Gyula Madarasz
4396c81b1a fixed tests from ssg 2018-08-20 11:22:37 +01:00
Dillon-Brown
acf296012d Revert "Merge branch 'hotfix' into develop"
This reverts commit d08f74643d, reversing
changes made to b137595f91.
2018-07-31 15:24:44 +01:00
Dillon-Brown
68f69400bc braces 2018-07-12 11:40:27 +01:00
Dillon-Brown
1a41e252ec single_line_after_imports 2018-06-25 19:58:27 +01:00
Daniel Samson
51105e0a15 commending out the conditions code 2018-05-16 12:57:31 +01:00
Daniel Samson
49f6f08137 Fixing conditions in aow 2018-05-16 12:12:08 +01:00
Daniel Samson
de0c0ee141 Adding second datetime field to AOW_WorkflowCest
see issue 
2018-05-16 11:35:32 +01:00
Daniel Samson
1f492c644d Add WorkFlow Cest
(cherry picked from commit 6e8201a)
2018-05-16 11:11:02 +01:00