File tree Expand file tree Collapse file tree
core/src/main/kotlin/org/evomaster/core/output/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -528,22 +528,18 @@ abstract class HttpWsTestCaseWriter : ApiTestCaseWriter() {
528528 handleVerbEndpoint(baseUrlOfSut, call, lines)
529529 }
530530
531+ format.isPlaywright() -> { // This needs to be checked!
532+ lines.append(" -539 HttpWsTestCaseWriter.kt- " )
533+ }
534+
531535 format.isJavaScript() -> {
532536 lines.indent(2 )
533537 // in SuperAgent, verb must be first
534538 handleVerbEndpoint(baseUrlOfSut, call, lines)
535539 lines.append(getAcceptHeader(call, res))
536540 handleHeaders(call, lines)
537541 handleBody(call, lines)
538- if (format.isPlaywright()) { // This needs to be checked!
539- lines.append(" -539 HttpWsTestCaseWriter.kt- " )
540- } else {
541- // in SuperAgent, verb must be first
542- handleVerbEndpoint(baseUrlOfSut, call, lines)
543- lines.append(getAcceptHeader(call, res))
544- handleHeaders(call, lines)
545- handleBody(call, lines)
546- }
542+
547543 }
548544
549545 format.isCsharp() -> {
You can’t perform that action at this time.
0 commit comments