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

Selenium Testing: no error message when calling an unknown JS function #909

Open
bschmalhofer opened this issue Apr 5, 2021 · 2 comments
Labels
selenium Related to fixing or improving testing with Selenium unittests Requests wrt unittests
Milestone

Comments

@bschmalhofer
Copy link
Contributor

The test script scripts/test/Selenium/Customer/Ajax/ErrorHandling.t is broken. When calling an unknown JS function no error message is shown. For now the test script is skipped.

@bschmalhofer bschmalhofer added the selenium Related to fixing or improving testing with Selenium label Apr 5, 2021
@bschmalhofer bschmalhofer added this to the OTOBO 10.0 milestone Apr 5, 2021
bschmalhofer added a commit that referenced this issue Jun 9, 2021
bschmalhofer added a commit that referenced this issue Sep 3, 2021
Only declare the failing parts as TODO.
bschmalhofer added a commit that referenced this issue Sep 3, 2021
@bschmalhofer
Copy link
Contributor Author

Not really closer to understanding what the problem is. But there is no reason to skip the complete test script. Declaring the failing parts as TODO is more useful.

@bschmalhofer bschmalhofer modified the milestones: OTOBO 10.0, OTOBO 10.1 Sep 29, 2021
@reneeb reneeb added the unittests Requests wrt unittests label Jan 28, 2022
@bschmalhofer
Copy link
Contributor Author

I still don't understand that. I tried navigating to the CustomerTicketMessage action and run in the Firefox console the following command:
Core.AJAX.FunctionCall(Core.Config.Get(\'CGIHandle\') + \':12345\', null, function () {});
In the most cases I got a redirect to the Dashboard, which is not what was expected in the test script. So let's keep this issue open.

@bschmalhofer bschmalhofer modified the milestones: OTOBO 10.1, OTOBO 11.0 Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
selenium Related to fixing or improving testing with Selenium unittests Requests wrt unittests
Projects
None yet
Development

No branches or pull requests

2 participants