Commit Graph

7 Commits

Author SHA1 Message Date
andyforrest b777e56be1
Edit/cypress port (#40764)
* Add db_port as environment variable to cypress config

* Remove commented code in tests/System/plugins/db.js

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>

* Added port for postgres in db.js

---------

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
2023-06-14 16:18:18 +02:00
Allon Moritz 4ab7aa8dd4
Add tests for global configuration and support mail tests (#40583)
* Add tests for global configuration and support mail tests

* cs

* wait till tab is visible

* visible

* mailer visible

* Update tests/System/plugins/mail.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* Setup mailing in installation task

* Doc

* Add more mail checks

* Do not log the mails as it screwes up the drone output log

---------

Co-authored-by: Brian Teeman <brian@teeman.net>
2023-05-15 14:31:39 +02:00
Allon Moritz 5a2d7d4856
Convert installer plugins to service providers (#40146)
* Convert installer plugins to service providers

* cs

* system tests

* 6

* move to system folder

* restore and correct folder
2023-03-22 14:47:56 +01:00
Allon Moritz 7611824c5c
Move API system tests to cypress (#40135)
* tests

* api

* artiucles crud

* banners

* contact

* media

* media

* Remove codeception

* cs

* more traces of codeception

* readd certs

* dependencies

* more deps

* secret

* cs

* better doc

* write

* config workaround

* cs

* revert

* prepare db for api tests

* variable

* revert pool

* end connections

* no limit

* cs

* prefix

* Update tests/cypress/drone-system-run.sh

* run specific specs in drone

* Update tests/README.md

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* postgres

* media on postgres

* sign

* cs

* remove more traces

* basic api tests

* cleanup

* path

* run recursive specs

* chmod images folder

* path to cms

* correct dependencies and better cleanup

* cleaner deps

* Update tests/cypress/drone-system-run.sh

Co-authored-by: Brian Teeman <brian@teeman.net>

* missing fields

* stabilize cleanup

* cs

* secret in install test

* order of tests

* optimize cleanup

* cs

* cache the connection

* revert connection cache

* docs

* Rename cypress to system

* lint

* simplification and docs

* docs

* better cleanup

* move

* merge conflict

* remove redundant connect

---------

Co-authored-by: Brian Teeman <brian@teeman.net>
2023-03-20 09:51:42 +01:00
Allon Moritz 52715d6374
Move db setup code to plugins file (#40098)
* Move db setup code to plugins file

* require
2023-03-13 14:57:17 +01:00
Allon Moritz 7ec999be97
Create front end cypress tests (#40038)
* db

* front test

* architecture

* tests

* more tests

* dist

* reame

* connections test

* resolve

* better connection handling

* more tests

* do not cache the connection

* debug

* error check

* debug

* move cleanup to each spec file

* missing field

* postgres support

* cs

* escape column names

* Determine pgsql type of drone correctly

* pg no backticks

* after

* Support multiple layouts

* new test

* after

* case

* postgres needs double quotes
2023-03-11 13:40:22 +01:00
Astrid 58fb6ec889
Rename cypress.config.js so that it can be included in the .gitignore file. (#39722)
* wip

* wip

* Signing .drone.yml

---------
2023-02-02 11:32:13 +01:00