-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Update to joomla-cypress 1.1.0 #43722
base: 4.4-dev
Are you sure you want to change the base?
Conversation
Merge branch '4.4-dev'
Consider file permissions when writing configuration in system tests …
merge joomla/joomla-cms branch 4.4-dev
merge base 4.4-dev
The joomla-cypress NPM package used has been updated to the latest version in order to be able to use one version in all active joomla-cms branches. Other packages were also updated to the latest versions with the `npm update`. The overwritten Cypress commands for faster login with session have been deleted, as they are already included in the new joomla-cypress version.
I have tested this item ✅ successfully on 9a66d94 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43722. |
@muhme Which command have you used to update the dependency? To me it seems this PR updates more dependencies than only joomla-cypress and it’s dependencies. |
@richard67 |
the #43726 should avoid the need for the hack in newsfeed and in the related_items module.... |
Set to DRAFT to:
|
@richard67 Since the creation of this PR, the following statement has been included in the description:
The fact that all packages are updated is therefore explicitly named from my point of view and even provided with a visual eye-catcher. Also, the following instruction was added to the "Test Instructions" section since this PR was created:
Could it be that you haven't read the description, or am I the one who's in the wrong movie? 😃 |
@muhme Seems I need glasses 👓:-) You are right, description is ok, sorry for the noise :-) |
merge from head repository
fix for joomla-cypress 1.1.0
npm install [email protected]
Removed notice on overridden joomla-cypress commands
Reverted to "Ready to merge", the description has been completely revised after all changes. |
Are the changes in the View classes really needed? |
In 4.4-dev with joomla-cypress 0.0.16 the PHP message and warningas checks were disabled. With joomla-cypress 1.1.0 they are enabled and the System tests had 6 failures. At first there were workaround 'hacks' in the system tests to get the test suite running without errors. @alikon solved all system test 'hacks' by backporting and investigating. @alikon: Can you explain more in detail? |
If these are bugs in the code, we should do them separate and then they need also two human tests. |
Golden rule - solve one issue with one pull request |
Summary of Changes
Revised after 21 commits on 9 July 2024
The goal is to use the actual NPM joomla-cypress version 1.1.0 for all four active joomla-cms branches. Actual 4.4-dev is using 0.0.16; and 5.1-dev, 5.2-dev and 6.0-dev are using 1.0.3.
joomla-cypress
was updated with thenpm update
, BUT there are more changes in package-lock.json.package.json
andpackage-lock.json
were not synchronised. As one example inpackage.json
the version is stated as '4.4.6' and inpackage-lock.json
as '4.4.4'.Re-tested on 9 Juli 2024
Testing Instructions
npm ci
) and run System Tests w/o errorsnode_modules/joomla-cypress/package.json
package-lock.json
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Up-Merge
package-lock.json
is not synchronised withpackage.json
either