Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Enqueue the registered scripts from block.json#2566

Merged
AnthonyLedesma merged 2 commits into
mastergodaddy-wordpress/coblocks:masterfrom
block-json-scriptsgodaddy-wordpress/coblocks:block-json-scriptsCopy head branch name to clipboard
Sep 7, 2023
Merged

Enqueue the registered scripts from block.json#2566
AnthonyLedesma merged 2 commits into
mastergodaddy-wordpress/coblocks:masterfrom
block-json-scriptsgodaddy-wordpress/coblocks:block-json-scriptsCopy head branch name to clipboard

Conversation

@AnthonyLedesma

Copy link
Copy Markdown
Member

Description

Some files scripts were missed or not properly registered. Those have been resolved here. Added e2e tests that will catch if this case ever happens in the future.

Types of changes

Enqueued scripts.
E2E tests added.

How has this been tested?

Tested manually and with Cypress.

Acceptance criteria

Should always enqueue the registered scripts from block.json.

Checklist:

  • My code is tested
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've included any necessary tests
  • I've included developer documentation
  • I've added proper labels to this pull request

@AnthonyLedesma AnthonyLedesma self-assigned this Sep 1, 2023
@olafleur-godaddy

Copy link
Copy Markdown
Contributor

From what I can see, it seems the new tests for events and post-carousel are failing, right?

@AnthonyLedesma
AnthonyLedesma merged commit a3dda77 into master Sep 7, 2023
@AnthonyLedesma
AnthonyLedesma deleted the block-json-scripts branch September 7, 2023 20:46
@AnthonyLedesma AnthonyLedesma added this to the Next Release milestone Sep 7, 2023
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.