refactor: remove absolute classes

This commit is contained in:
liyasthomas
2021-08-17 12:56:36 +05:30
parent 3534e133af
commit 956ca44ef0
55 changed files with 269 additions and 404 deletions

View File

@@ -306,19 +306,13 @@ export default defineComponent({
return this.httpUser && this.httpPassword
},
isRawParams() {
return this.rawParams && this.rawParams !== "{}"
return this.rawParams && this.rawParams !== ""
},
isPreRequestScript() {
return (
this.preRequestScript &&
this.preRequestScript !== `// pw.env.set('variable', 'value');`
)
return this.preRequestScript && this.preRequestScript !== ""
},
isTestScript() {
return (
this.testScript &&
this.testScript !== `// pw.expect('variable').toBe('value');`
)
return this.testScript && this.testScript !== ""
},
},
{