-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
582 additions
and
247 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "❄️ Flaky test in `cypress-io/cypress` repository" | ||
title: "Flaky test: " | ||
labels: ["topic: flake ❄️", "stage: fire watch"] | ||
description: Report a flaky test in the Cypress open-source repository. | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Have a question? 👉 [Start a new discussion](https://github.com/cypress-io/cypress/discussions) or [ask in chat](https://on.cypress.io/discord). | ||
- type: textarea | ||
id: dashboard | ||
attributes: | ||
label: Link to dashboard or CircleCI failure | ||
description: Please include a link to the failure in the Cypress Dashboard or in CircleCI. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: github-link | ||
attributes: | ||
label: Link to failing test in GitHub | ||
description: Provide the GitHub link to the failing test with the line number. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: analysis | ||
attributes: | ||
label: Analysis | ||
description: If you can, provide a quick analysis of why this test is flaky. | ||
placeholder: ex. The test appears to be flaky because... | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Cypress Version | ||
description: Provide the version of Cypress where the flake is occurring. | ||
placeholder: ex. 10.4.0 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: other | ||
attributes: | ||
label: Other | ||
placeholder: Any other details? |
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,4 @@ | ||
{ | ||
"chrome:beta": "104.0.5112.79", | ||
"chrome:beta": "105.0.5195.19", | ||
"chrome:stable": "104.0.5112.79" | ||
} |
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,61 @@ | ||
import ts from 'rollup-plugin-typescript2' | ||
import resolve from '@rollup/plugin-node-resolve' | ||
|
||
import pkg from './package.json' | ||
|
||
const banner = ` | ||
/** | ||
* ${pkg.name} v${pkg.version} | ||
* (c) ${new Date().getFullYear()} Cypress.io | ||
* Released under the MIT License | ||
*/ | ||
` | ||
|
||
function createEntry () { | ||
const input = 'src/index.ts' | ||
const format = 'es' | ||
|
||
const config = { | ||
input, | ||
external: [ | ||
'@angular/core', | ||
'@angular/core/testing', | ||
'@angular/common', | ||
'@angular/platform-browser-dynamic/testing', | ||
'zone.js', | ||
'zone.js/testing', | ||
], | ||
plugins: [ | ||
resolve(), | ||
], | ||
output: { | ||
banner, | ||
name: 'CypressAngular', | ||
file: pkg.module, | ||
format, | ||
exports: 'auto', | ||
}, | ||
} | ||
|
||
console.log(`Building ${format}: ${config.output.file}`) | ||
|
||
config.plugins.push( | ||
ts({ | ||
check: true, | ||
tsconfigOverride: { | ||
compilerOptions: { | ||
declaration: true, | ||
target: 'es6', // not sure what this should be? | ||
module: 'esnext', | ||
}, | ||
exclude: [], | ||
}, | ||
}), | ||
) | ||
|
||
return config | ||
} | ||
|
||
export default [ | ||
createEntry(), | ||
] |
Oops, something went wrong.