Merged
Conversation
Update to Cypress 13.16.0 is needed to use defaultBrowser in cypress config
Tested joomla-cypress test suite headless with:
* Own target
* Windows 11 24H2 + Laragon + IPv4 + Joomla 5.2-dev
* macOS 15.1 Intel + MariaDB + Apache + IPv4 + Joomla 5.2-dev
* JBT
* Windows 11 24H2 + WSL 2 Ubuntu + MariaDB-MySQLi + IPv4 + Joomla 5.2-dev
* Ubuntu 24.04 + MariaDB-MySQLi + IPv4 + Joomla 4.4-dev, 5.2-dev, 5.3-dev, 6.0-dev
* macOS 15.1 Apple Silicon
* IPv4 + MariaDB-MySQLi + Joomla 4.4-dev, 5.2-dev, 5.3-dev, 6.0-dev
* IPv6 + Joomla 5.2-dev + MySQL-MySQLi, MySQL-PDO, MariaDB-MySQLi, MariaDB-PDO, PostgreSQL-PDO, MySQL-MySQLi-Socket, MySQL-PDO-Socket, MariaDB-MySQLi-Socket, Mariadb-PDO-Socket, PostgreSQL-PDO-Socket
* macOS 15.1 Intel + MariaDB-MySQLi + IPv4 + Joomla 4.4-dev, 5.2-dev, 5.3-dev, 6.0-dev
This was referenced Dec 15, 2024
Collaborator
|
Thanks, should the cypress folder not be named tests? |
Contributor
Author
|
I did indeed start with |
Collaborator
|
A common setup in many projects is that you have a src folder with the code and a tests folder with all the testing stuff. I would like to keep it that way. How it is now, it is not possible to distinguish what is testing code and what is library code. |
Collaborator
|
Thanks you very much! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request for Issue #14
Cypress-based test suite for
joomla-cypressNPM module. Each Cypress custom command is tested at least once.Update to Cypress 13.16.0 is needed to use
defaultBrowserin cypress config.The
joomla-cypresstest suite was tested headless with:Own target
JBT
installJoomlaMultilingualSiteand a lot of sub-sequent tests will fail.🔔 19 Dec 2024 PM: Directory level
testsinserted before the Cypress tests, directorycypressremoved and tests are moved intoe2esub-folder. JBT adopted too and you have to use version >= 2.1.16.