arse(req.xhr.requestBody)).to.be.eql(expectedBody);

              $.server.respond();
              return req.completes;
            },
            () => {
              expect($.select('ajax-dialog').opened).to.be.false;
            }
        );
      };

      testSucceed(
          'creates with recommended severity',
          {testcaseId: '456', ccMe: false, severity: 2},
          () => { $.panel.set('info.security_severity', 'Medium'); },
          () => {}
      );

      testSucceed(
          'c