Пример #1
0
        public IActionResult RunSuite(string catName, string suiteName, string frame)
        {
            var model = new RunSuiteViewModel
            {
                Title             = suiteName,
                ScriptVirtualPath = UIModelHelper.GetSuiteVirtualPath(catName, suiteName),
            };

            AssignBaseRunProps(model);

            return(View(model));
        }
Пример #2
0
        public IActionResult RunSuite(string catName, string suiteName, string frame)
        {
            var model = new RunSuiteViewModel
            {
                Title                      = suiteName,
                ScriptVirtualPath          = UIModelHelper.GetSuiteVirtualPath(catName, suiteName),
                StyleCompilerTestServerUrl = "http://" + Request.Host.Host + ":" + Ports.Get("style-compiler") + "/test-server"
            };

            AssignBaseRunProps(model);

            return(View(model));
        }
Пример #3
0
        public IActionResult RunSuite(string catName, string suiteName, string frame)
        {
            if (_runFlags.IsContinuousIntegration && frame != null)
            {
                WorkerFrameStateHelper.NotifySuiteStarted(_env, frame, catName + "/" + suiteName);
            }

            var model = new RunSuiteViewModel
            {
                Title                      = suiteName,
                ScriptVirtualPath          = UIModelHelper.GetSuiteVirtualPath(catName, suiteName),
                StyleCompilerTestServerUrl = "http://" + Request.Host.Host + ":" + Ports.Get("style-compiler") + "/test-server"
            };

            AssignBaseRunProps(model);

            return(View(model));
        }