-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add attempt level burn in fields (#28414)
* fix(driver): add support for alias.all when using dynamic alias (#28352) * add tests for failing instance * fix: support for dynamic alias.all * update changelog * Update cli/CHANGELOG.md Co-authored-by: Matt Schile <[email protected]> * move test * Update cli/CHANGELOG.md Co-authored-by: Emily Rohrbough <[email protected]> --------- Co-authored-by: Matt Schile <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]> * chore: send initialStrategy and reasonToStop in postInstanceResults * Revert "fix(driver): add support for alias.all when using dynamic alias (#28352)" This reverts commit 02d0493. * update record_spec snapshots * add tests for burn-in * add snapshots for burn in tests * add tests for overrides and refactored assertion attempt function * update test name * refactor burn in types * fix import * add tests for failing hooks * update e2e snapshots * remove accidental changes * update snapshot for record_spec * remove reasonToStop and initialStrategy from results * update snapshots for protocol_spec * normalize absoluteFile path * update reporter snapshots * fix mocha_custom_methods * format reporter with double quotes * fix snapshots formatting for reporter_spec * update formatting for burn_in_spec snapshot * revert formatting for burn_in_spec to single quotes --------- Co-authored-by: Jordan <[email protected]> Co-authored-by: Matt Schile <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]>
- Loading branch information
1 parent
8f150de
commit 77acde1
Showing
27 changed files
with
7,936 additions
and
2,326 deletions.
There are no files selected for viewing
2,631 changes: 1,644 additions & 987 deletions
2,631
packages/app/cypress/e2e/runner/snapshots/retries.experimentalRetries.mochaEvents.cy.ts.json
Large diffs are not rendered by default.
Oops, something went wrong.
544 changes: 326 additions & 218 deletions
544
packages/app/cypress/e2e/runner/snapshots/retries.mochaEvents.cy.ts.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,832 changes: 1,175 additions & 657 deletions
1,832
packages/app/cypress/e2e/runner/snapshots/runner.experimentalRetries.mochaEvents.cy.ts.json
Large diffs are not rendered by default.
Oops, something went wrong.
318 changes: 185 additions & 133 deletions
318
packages/app/cypress/e2e/runner/snapshots/runner.mochaEvents.cy.ts.json
Large diffs are not rendered by default.
Oops, something went wrong.
226 changes: 113 additions & 113 deletions
226
packages/driver/cypress/e2e/util/mocha_custom_methods.cy.js
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export type AttemptStrategy = 'RETRY' | 'BURN_IN' | 'NONE' | ||
|
||
export type ReasonToStop = | ||
| 'PASSED_FIRST_ATTEMPT' // no burn-in needed | ||
| 'PASSED_BURN_IN' // achieved burn-in | ||
| 'PASSED_MET_THRESHOLD' // passed after reaching threshold for strategy 'detect-flake-and-pass-on-threshold' | ||
| 'FAILED_NO_RETRIES' // failed and no retries | ||
| 'FAILED_REACHED_MAX_RETRIES' // failed after reaching max retries | ||
| 'FAILED_DID_NOT_MEET_THRESHOLD' // failed since it's impossible to meet threshold for strategy 'detect-flake-and-pass-on-threshold' | ||
| 'FAILED_STOPPED_ON_FLAKE' // failed with one attempt passing and using strategy 'detect-flake-but-always-fail' with `stopIfAnyPassed` set to true | ||
| 'FAILED_HOOK_FAILED' // failed because a hook failed |
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 |
---|---|---|
|
@@ -45,3 +45,5 @@ export * from './video' | |
export * from './protocol' | ||
|
||
export * from './proxy' | ||
|
||
export * from './burnIn' |
Oops, something went wrong.