Skip to content

Update README overview commands (#20)#1

Merged
muhme merged 1 commit intomuhme:mainfrom
joomla-projects:main
Jun 19, 2024
Merged

Update README overview commands (#20)#1
muhme merged 1 commit intomuhme:mainfrom
joomla-projects:main

Conversation

@muhme
Copy link
Owner

@muhme muhme commented Jun 19, 2024

Overview of the commands and the associated functions and variables v1.0.3

Overview of the commands and the associated functions and variables v1.0.3
@muhme muhme merged commit 16b0570 into muhme:main Jun 19, 2024
muhme added a commit that referenced this pull request Jun 29, 2024
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)
```
muhme added a commit that referenced this pull request Aug 6, 2024
* 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
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.

2 participants