Skip to content

merge from head repository joomla-projects/joomla-cypress#7

Merged
muhme merged 3 commits intomuhme:fix-createMenuItemfrom
joomla-projects:main
Aug 6, 2024
Merged

merge from head repository joomla-projects/joomla-cypress#7
muhme merged 3 commits intomuhme:fix-createMenuItemfrom
joomla-projects:main

Conversation

@muhme
Copy link
Copy Markdown
Owner

@muhme muhme commented Aug 6, 2024

No description provided.

muhme added 3 commits July 30, 2024 07:49
* Insert version badge in README.md

* Installation + Usage added

* rewrite README.md

* Update README.md II

* README III

* README V

* README VI

* README VII

* Final corrections from the last reading
When the files are deleted, the web server sometimes still delivers content
and does not fail as expected with 404 - Not Found.
In such cases, we try again one second later for 10 retries.
* Let checkForPhpNoticesOrWarnings speak

Sometimes a PHP problem message directly in the HTML code causes rendering problems and
makes the error message invisible in the browser and on the screenshot. With this change
the PHP problem message is shown.

See the change by sample. Before:
```
  Test in frontend that the related items module
    1) "after each" hook for "can display a list of related articles based on the metakey field"

  0 passing (748ms)
  1 failing

  1) Test in frontend that the related items module
       "after each" hook for "can display a list of related articles based on the metakey field":
     AssertionError: expected true to equal false

Because this error occurred during a `after each` hook we are skipping all of the remaining tests.
      at Context.eval (webpack://joomla/./node_modules/joomla-cypress/src/support.js:98:0)
```

After:
```
  Test in frontend that the related items module
    1) "after each" hook for "can display a list of related articles based on the metakey field"

  0 passing (1s)
  1 failing

  1) Test in frontend that the related items module
       "after each" hook for "can display a list of related articles based on the metakey field":
     Error: Unwanted PHP Deprecated: "  DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in <b>/Users/hlu/Desktop/no_backup/joomla-cms/libraries/src/Date/Date.php</b> on line <b>126</b>"

Because this error occurred during a `after each` hook we are skipping all of the remaining tests.
      at Context.eval (webpack://joomla/./node_modules/joomla-cypress/src/support.js:116:0)
```

* The method documentation for @returns rewritten
@muhme muhme merged commit cca6f95 into muhme:fix-createMenuItem Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant