Opened 6 months ago
Closed 5 weeks ago
#62280 closed task (blessed) (fixed)
Test tool and unit test improvements for 6.8
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | normal | Version: | trunk |
Component: | Build/Test Tools | Keywords: | has-patch changes-requested has-unit-tests |
Focuses: | Cc: |
Description
- #61530 (6.7)
- #60705 (6.6)
- #59647 (6.5)
- #58955 (6.4)
- #57841 (6.3)
- #56793 (6.2)
- #55652 (6.1)
- #54725 (6.0)
- #53363 (5.9)
- #52625 (5.8)
- #51802 (5.7)
- #51344 (5.6)
This ticket is for various fixes and improvements in PHPUnit tests that don't have a more specific ticket, as well as general improvements to the GitHub Actions workflows that run automated testing.
Change History (44)
This ticket was mentioned in PR #8116 on WordPress/wordpress-develop by @swissspidy.
4 months ago
#5
- Keywords has-patch added
See 5267e4a40cb4e63e6a0855b137cb0a3092544da9
Needs backporting because svn isn't available anymore on newer GitHub Actions runners
Needs to be done for 5.4-5.7 as well.
Trac ticket: https://core.trac.wordpress.org/ticket/62280
@swissspidy commented on PR #8116:
4 months ago
#6
Not sure why the QUnit tests fail in this branch and not elsewhere 🤔
#9
in reply to:
↑ description
@
3 months ago
- Keywords changes-requested added
- Version set to trunk
Replying to desrosj:
- #61530 (6.7)
- #60705 (6.6)
- #59647 (6.5)
- #58955 (6.4)
- #57841 (6.3)
- #56793 (6.2)
- #55652 (6.1)
- #54725 (6.0)
- #53363 (5.9)
- #52625 (5.8)
- #51802 (5.7)
- #51344 (5.6)
This ticket is for various fixes and improvements in PHPUnit tests that don't have a more specific ticket, as well as general improvements to the GitHub Actions workflows that run automated testing.
This ticket was mentioned in PR #8124 on WordPress/wordpress-develop by @desrosj.
3 months ago
#20
Trac ticket: https://core.trac.wordpress.org/ticket/62280
This ticket was mentioned in PR #8136 on WordPress/wordpress-develop by @johnbillion.
3 months ago
#32
This reduces the noise of the output -- both locally and on CI -- when first pulling containers during local environment installation and the first time the cli
container is pulled for WP-CLI commands.
@johnbillion commented on PR #8136:
3 months ago
#34
Committed in https://core.trac.wordpress.org/changeset/59658
This ticket was mentioned in PR #8147 on WordPress/wordpress-develop by @johnbillion.
3 months ago
#35
@johnbillion commented on PR #8147:
3 months ago
#37
Committed in https://core.trac.wordpress.org/changeset/59725
This ticket was mentioned in PR #8474 on WordPress/wordpress-develop by @peterwilsoncc.
7 weeks ago
#41
Generate packagehash.txt on first install to prevent grunt triggering a reinstall during build step.
Trac ticket: https://core.trac.wordpress.org/ticket/62280
This ticket was mentioned in PR #8477 on WordPress/wordpress-develop by @peterwilsoncc.
7 weeks ago
#42
- Keywords has-unit-tests added
admin.visitAdminPage()
requires users be logged in to prevent it from throwing an error. For some tests this is causing misbehaviour depending on the order in which the tests run.
Trac ticket: https://core.trac.wordpress.org/ticket/62280
@peterwilsoncc commented on PR #8474:
7 weeks ago
#43
Instead of changing these GHA commands, it would be great to solve this anytime
npm install
is run forwordpress-develop
because this same bug exists locally. To confirm just delete thepackagehash.txt
file and runbuild
.
I looked in to this with a postinstall
script but it appears that the --hash-only
switch added in the repo never got released to the npm package.
I guess we could fork it and publish as @wordpress/install-changed
but I am not that concerned.
#44
@
5 weeks ago
- Resolution set to fixed
- Status changed from assigned to closed
I've gone and opened #63167 for 6.9. I'm closing this out.
@peterwilsoncc I think the install-changed
PR needs more thought, but if you feel the admin.visitAdminPage()
one is ready during RC and should be backported, feel free to reopen this ticket and commit.
In 59282: