-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Intercept
cy.request
calls for API results upload (#324)
* Add custom command for `cy.request` * Replace context interface with stateful class * Store requests & responses for later use * Move context class to context file * Replace copied Cypress v13 types with dependency * Add command test file * Use `spawn` instead of `exec` * Fix spawn output * Fix command integration test setup * Add quotes * Update integration setup * Improve secret handling * Add integration test draft * Progress towards JSON upload * Use `cy.task` for request interception * Fix task handling * Fix ESLint * Update action * Remove test execution issue keys * Add `enqueueTask` tests * Split tests into unit and integration * Use different jobs in pipeline * Add dependency to integration job * Remove quotes * Copy mocha call * Add outgoing request tests * Add incoming response tests * Add command overwrite tests * Add tests for `SimpleEvidenceCollection` * Add tests for `PluginContext` * Fix locale time tests * Fix locale time tests * Add evidence test * Try pipeline fix * Try pipeline fix * Try pipeline fix * Try pipeline fix * Remove debug output * Add more integration tests * Simplify exports * Always register plugin tasks * Add documentation links
- Loading branch information
Showing
34 changed files
with
2,077 additions
and
847 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"check-coverage": true, | ||
"exclude": ["**/*.spec.ts", "test/"], | ||
"exclude": ["**/*.spec.ts", "test/", "dist/"], | ||
"reporter": ["html", "text-summary"] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
import { configureXrayPlugin, syncFeatureFile } from "./src/plugin"; | ||
import { Options } from "./src/types/plugin"; | ||
|
||
export { Options as CypressXrayPluginOptions, configureXrayPlugin, syncFeatureFile }; | ||
export { configureXrayPlugin, syncFeatureFile } from "./src/plugin"; | ||
export { CypressXrayPluginOptions } from "./src/types/plugin"; |
Oops, something went wrong.