Skip to content
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

GH action summary added #194

Merged
merged 4 commits into from May 10, 2023
Merged

GH action summary added #194

merged 4 commits into from May 10, 2023

Conversation

jayedul
Copy link
Contributor

@jayedul jayedul commented May 8, 2023

Description of the Change

Mochawesome reporter added for Cypress test report

Closes #179

Changelog Entry

Added - Mochawesome reporter added for Cypress test report

Credits

Props @jayedul

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@jayedul jayedul self-assigned this May 8, 2023
@jeffpaul jeffpaul added this to the 1.0.7 milestone May 8, 2023
@jeffpaul jeffpaul requested review from a team and peterwilsoncc and removed request for a team May 8, 2023 17:49
@jayedul jayedul marked this pull request as ready for review May 8, 2023 18:19
@jayedul jayedul requested review from jeffpaul and a team as code owners May 8, 2023 18:19
@jayedul
Copy link
Contributor Author

jayedul commented May 8, 2023

It has been marked as ready for review though some Github action has failed. Failed ones are not related to this PR itself.

@jeffpaul jeffpaul removed request for jeffpaul and a team May 8, 2023 19:04
Copy link
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a question inline.

I can confirm that argparse is already required in the develop branch and that's what looks to be triggering the dependency review action failure.

@@ -55,3 +55,22 @@ jobs:
run: npm run env:start
- name: Test
run: npm run cypress:run
- name: Update summary
if: always()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed this in ddf9924 to ensure the summary displays on failed test runs. See https://github.com/10up/insert-special-characters/actions/runs/4921439734 for an example.

package.json Outdated
@@ -46,6 +46,7 @@
},
"dependencies": {
"@wordpress/components": "^22.1.0",
"cypress-mochawesome-reporter": "^3.4.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should probably be in devDependencies for this repo alongside cypress. In this repo we include the react-character-map from the dependencies in the built version so there may be a risk we include this in the build unintentionally.

Are you able to double check?

Copy link
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

I'm not sure why the E2E tests are failing for some versions of WP. Possibly related to changes in the block editor markup.

@jeffpaul jeffpaul merged commit bf532ea into develop May 10, 2023
9 of 11 checks passed
@jeffpaul jeffpaul deleted the update/179 branch May 10, 2023 14:21
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.

Add a GH Actions summary
3 participants