Jasmine tests - Order
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 12:20 AM
Heho,
are Jasmine tests (3.1) in the Servicenow implementation ordered?
How can I check the instance configuration on the Instance?
BR
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 01:38 PM - edited 12-30-2024 10:58 AM
@Holger Peters IT tests are random by default. If you would like them to run in order - add this to the end of your script step in place of 'jasmine.getEnv().execute()':
var env = jasmine.getEnv();
var env = jasmine.getEnv();
env.randomizeTests(false);
env.execute();