Automated Test Framework (ATF) from Scoped App is not working ("jasmine" is not defined)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 03:26 AM
Hi there,
I'm kind of new in SNOW, and I'm trying to use the ATF to perform some server-side unit tests. I've read this similar post, but it is not "exactly" answered what I want to know.
I've created a new Scoped App and a new test inside that given app. This new test is an exact copy of the already existing sample test "Jasmine Successful Test", having a "Run Server Side Script" test step, except for the Application, which is Global in the sample test and my application in the new one.
I can run the sample test perfectly and it passes. But when trying to run the new one, I get this error (full log attached):
: org.mozilla.javascript.JavaScriptException: ReferenceError: "jasmine" is not defined. (sys_atf_step.ef6c29a24f0832007bc83879b110c7f8; line 48):
...
02:30:43.69: Unexpected exception:: java.lang.SecurityException: Encountered scriptable of unknown type Object in x_87196_ppltr_test:
...
02:30:43.70: Encountered scriptable of unknown type Object in x_87196_ppltr_test: java.lang.SecurityException: Encountered scriptable of unknown type Object in x_87196_ppltr_test: com.glide.script.RhinoEnvironment.checkScriptableAccess(RhinoEnvironment.java:548)
...
Is there something I am missing?
Is it the ATF limited to the Global scope only?
In such a case, how to share tests between instances? This documentation post states that you can use update sets, but I don't think it is a very useful way...
Any information would be highly appreciated.
Thanks and regards,
Leo Sánchez

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 10:49 AM
Hi Eduardo,
Here's the update - it's been fixed! The Istanbul patch is coming out soon (no definite date yet) and fixed in Jarkarta.
PRB716257 — Fixed in Istanbul patch 3 & PRB677472 - Fixed in Jakarta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2017 02:37 PM
Hello ctomasi , can you please kindly provide an update? We cant wait to start using Automated Testing in our scoped apps?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 05:51 AM
Istanbul Patch 5 is currently available.
Jakarta release date has not yet been announced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 05:14 AM
Hi all,
I just tried in my new Jakarta instance (glide-jakarta-05-03-2017__patch0-05-18-2017) and I still have the same issue.
What I do is: Copy the test code that comes by default with the instance (named "Jasmine Successful Test") and paste it in a new test, but not with global scope, I set the scope of other application. I run the test and I get the same error message than Leovigildo mentioned.
So, I think this is not solved yet in Jakarta.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2017 01:58 PM
Hi ctomasi , can you please confirm if issue still exists in Jakarta? Thank you.