You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kernel::System::UnitTest::Selenium inherits from Selenium::Remote::Driver by adding Selenium::Remote::Driver to its ISA array. This kind of works. But Selenium::Remote::Driver is a proper Moo class which already has support for subclassing. I think it is good practice to use the standard way.
Changing this should also fix the nuissance that _execute_command() emits a OK testing event, but later throws an exception.
Interaction with Kernel::System::ObjectManager should be no problem, as the object manager simply decides whether an object should be created, or an existing object should be used. That using the object manage is not really sensible, is a different issue.
The text was updated successfully, but these errors were encountered:
Also check whether subclassing from Test::Selenium::Remote::Driver and from Test::Selenium::Remote::WebElement is sensible.
This classes provide some testing methods that might be useful.
At least AgentSetting.t works.
Don't yet try to use the Test::Selenium classes, because there were errors.
This is fine, as the extra testing methods are not used anyways.
TODO: avoid using package and file scoped variables.
Kernel::System::UnitTest::Selenium inherits from Selenium::Remote::Driver by adding Selenium::Remote::Driver to its ISA array. This kind of works. But Selenium::Remote::Driver is a proper Moo class which already has support for subclassing. I think it is good practice to use the standard way.
Changing this should also fix the nuissance that _execute_command() emits a OK testing event, but later throws an exception.
Interaction with Kernel::System::ObjectManager should be no problem, as the object manager simply decides whether an object should be created, or an existing object should be used. That using the object manage is not really sensible, is a different issue.
The text was updated successfully, but these errors were encountered: