50_stress_test.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. let test_utils = require('./test_utils');
  2. let user = "./users/testuser/";
  3. // performs the long-running and exhaustive tests
  4. module.exports = {
  5. beforeEach : function (client) {
  6. client.url('http://localhost:8124/atompm').pause(1000);
  7. },
  8. 'Login' : function (client) {
  9. test_utils.login(client);
  10. },
  11. 'Load all toolbars': function (client) {
  12. // console.log("Testing toolbars...");
  13. // test_utils.getFiles(client, user, '/**/*.buttons.model', test_utils.load_toolbar);
  14. //
  15. // console.log("Testing metamodels...");
  16. // test_utils.getFiles(client, user, '/**/*Icons.metamodel', test_utils.load_toolbar);
  17. //
  18. // console.log("Testing pattern metamodels...");
  19. // test_utils.getFiles(client, user, '/**/*Icons.pattern.metamodel', test_utils.load_toolbar);
  20. },
  21. 'Load all models' : function (client) {
  22. // test_utils.getFiles(client, user, '/**/*.model', test_utils.load_model);
  23. },
  24. after : function (client) {
  25. client.end();
  26. },
  27. };