test(e2e): expand Playwright coverage for req and bru scripting APIs - #79
Open
lokesh-bruno wants to merge 1 commit into
Open
lokesh-bruno wants to merge 1 commit into
lokesh-bruno wants to merge 1 commit into
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds E2E coverage for the
reqandbruscripting APIs in the docs playground to verify that supported methods and playground-specific stub warnings work correctly when run through the tests script in the browser.The coverage includes:
reqreads and mutators (getName,setUrl,setMethod,setHeaders,deleteHeader/deleteHeaders,getBody/setBody, timeout helpers,getExecutionMode,disableParsingResponseJson) plus fullerheaderListcoverage (upsert,find,filter,indexOf,reduce,toJSON,populate,repopulate,assimilate,clear).bruenvironment and variable helpers (getEnvName, env get/set/delete, collection var has/delete/deleteAll,getFolderVar/getRequestVar/getSecretVar,deleteVar/deleteAllVars).bruutilities (sleep,sendRequest,getTestResults,getAssertionResults,runRequestfor an invalid path,utils.minifyXml).runner.*, cookies, OAuth helpers, global env vars,cwd,getProcessEnv, etc.).