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

[cypress] nested set table #__menu #43456

Merged
merged 20 commits into from
Jun 13, 2024
Merged

[cypress] nested set table #__menu #43456

merged 20 commits into from
Jun 13, 2024

Conversation

alikon
Copy link
Contributor

@alikon alikon commented May 11, 2024

Pull Request for Issue #43441 .

Summary of Changes

delete an item on nested set table

Testing Instructions

run npm run cypress:run -- --spec 'tests/System/integration/api/com_menus/SiteMenuItems.cy.js'

Actual result BEFORE applying this Pull Request

fail

Expected result AFTER applying this Pull Request

success

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@bembelimen
Copy link
Contributor

I think we should really not use the "After" and "afterEach" event: https://docs.cypress.io/guides/references/best-practices#Using-after-Or-afterEach-Hooks

@laoneo

@alikon alikon marked this pull request as ready for review May 18, 2024 07:25
tests/System/integration/api/com_menus/SiteMenuItems.cy.js Outdated Show resolved Hide resolved
tests/System/integration/api/com_menus/SiteMenuItems.cy.js Outdated Show resolved Hide resolved
tests/System/integration/api/com_menus/SiteMenuItems.cy.js Outdated Show resolved Hide resolved
tests/System/support/commands/db.js Outdated Show resolved Hide resolved
tests/System/support/commands/db.js Outdated Show resolved Hide resolved
@laoneo laoneo self-assigned this May 31, 2024
@alikon
Copy link
Contributor Author

alikon commented Jun 3, 2024

still weird the drone failure

I would say "it works on my end" 🤕

@laoneo
Copy link
Member

laoneo commented Jun 7, 2024

What can be that the chaining I pointed out here can cause the issues as the task function does run async. Try my suggestion, perhaps it brings an improvement.

@alikon
Copy link
Contributor Author

alikon commented Jun 8, 2024

drone is happy now 👌

tests/System/support/commands/db.js Outdated Show resolved Hide resolved
tests/System/support/commands/db.js Outdated Show resolved Hide resolved
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
@laoneo
Copy link
Member

laoneo commented Jun 12, 2024

I'v restarted drone

@laoneo laoneo merged commit 8ae5039 into joomla:4.4-dev Jun 13, 2024
3 of 4 checks passed
@laoneo
Copy link
Member

laoneo commented Jun 13, 2024

Thanks!

@laoneo laoneo added this to the Joomla! 4.4.6 milestone Jun 13, 2024
@alikon alikon deleted the patch-25 branch June 13, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants