-
-
Notifications
You must be signed in to change notification settings - Fork 9
add toolbar versions button #40
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
Conversation
Can I get you to add a test for this new button? 😄 And you or I could improve the documentation with all the different |
this is the pr for the test using the button joomla/joomla-cms#44675 |
Yes and I meant in the joomla-cypress testsuite itself, in the file |
done |
Thank you for adding the test! The test works well and I recommend deleting the newly created |
Thanks! |
In PR joomla-projects#40 the `clickToolbarButton()` test was introduced, but it always fails with: ``` CypressError: `cy.task('queryDB')` failed with the following error: The 'task' event has not been registered in the setupNodeEvents method. You must register it before using cy.task() ``` The Cypress custom task `queryDB` from Joomla System Tests is not available in testing joomla-cypress itself. The error is reproducible when running the overall test suite or the single test: ``` npx cypress run --spec tests/e2e/support.cy.js --config-file tests/cypress.config.mjs ``` This PR manually implements the article deletion process . Additionally, comments have been added to clarify what is being tested in the clickToolbarButton() test and unified the button names with an initial uppercase letter, as capitalisation does not matter. Please ensure that tests are always run after any changes to confirm that everything continues to function correctly.
In PR #40 the `clickToolbarButton()` test was introduced, but it always fails with: ``` CypressError: `cy.task('queryDB')` failed with the following error: The 'task' event has not been registered in the setupNodeEvents method. You must register it before using cy.task() ``` The Cypress custom task `queryDB` from Joomla System Tests is not available in testing joomla-cypress itself. The error is reproducible when running the overall test suite or the single test: ``` npx cypress run --spec tests/e2e/support.cy.js --config-file tests/cypress.config.mjs ``` This PR manually implements the article deletion process . Additionally, comments have been added to clarify what is being tested in the clickToolbarButton() test and unified the button names with an initial uppercase letter, as capitalisation does not matter. Please ensure that tests are always run after any changes to confirm that everything continues to function correctly.
Added toolbar versions button
can be used like:
cy.clickToolbarButton('Versions');