#42009 closed defect (bug) (fixed)
Fix tests for the wptextpattern TinyMCE plugin
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 5.6 | Priority: | low |
Severity: | normal | Version: | 4.9 |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
After the last TinyMCE update #40956 the tests for the wptextpattern
plugin started failing only when run in PhantomJS. They still run properly in the browsers.
Change History (12)
This ticket was mentioned in Slack in #core by melchoyce. View the logs.
7 years ago
#5
@
7 years ago
- Keywords needs-patch added
- Milestone changed from 4.9.1 to 5.0
- Priority changed from normal to low
This ticket was mentioned in PR #716 on WordPress/wordpress-develop by desrosj.
4 years ago
#8
- Keywords has-patch has-unit-tests added; needs-patch removed
Reverting https://core.trac.wordpress.org/changeset/41620.
Trac ticket: https://core.trac.wordpress.org/ticket/42009.
#9
follow-up:
↓ 10
@
4 years ago
- Keywords needs-patch added; has-patch has-unit-tests removed
@azaozz It seems that this has been fixed upstream as reverting [41620] does not result in failing tests: https://github.com/WordPress/wordpress-develop/runs/1376143388?check_suite_focus=true
#10
in reply to:
↑ 9
@
4 years ago
Replying to desrosj:
It seems that this has been fixed upstream...
Yep, confirmed. No need to skip these tests now in PhantomJS.
Arguably the next conditional is not needed too as IE cannot be < 11 now, but can leave it just in case somebody tries to run the tests manually in old IE.
Seems
editor.selection.getRng( true )
fails when used inmceType()
. Don't see the cause. Going to temporarily disable these tests when run in PhantomJS until this is fixed.