Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge develop to feature/test-burn-in (do not squash) #28169

Merged
merged 84 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
86d8b96
docs: fix typo in CONTRIBUTING.md (#27705)
Crustum7 Sep 8, 2023
70248ab
fix: prerequest correlation for various retried and cached requests (…
ryanthemanuel Sep 11, 2023
a1161c9
fix: hanging on basic auth requests in chromium browsers (#27781)
ryanthemanuel Sep 11, 2023
356edfc
chore: fix the changelog to pass release readiness (#27787)
AtofStryker Sep 12, 2023
f8b4c59
fix: update net stubbing to not intercept requests sent to dev server…
mschile Sep 12, 2023
8638abb
chore: prep changelog ready for release and bump cypress version (#27…
AtofStryker Sep 12, 2023
0e239bf
feat(app): Update Runs page visuals to new layout and card design (#2…
dkasper-was-taken Sep 14, 2023
849da7c
chore: update chrome PR creation workflow to add to firewatch board (…
Sep 15, 2023
8e68282
chore: update kpi report generation to include feature review metrics…
Sep 15, 2023
5eaa4d0
chore: updating browser version script to use versionhistory api (#27…
mschile Sep 15, 2023
dc282cd
chore: fix linting error (#27825)
Sep 15, 2023
343097b
chore: use docker compose to run cypress. (#27831)
mjhenkes Sep 19, 2023
2247ffd
test: add new system test for --headless=old (#27834)
mschile Sep 19, 2023
381b505
chore: Update Chrome (stable) to 117.0.5938.88 and Chrome (beta) to 1…
github-actions[bot] Sep 19, 2023
a9d2dc2
chore: update contributor workflow to include approval job (#27822)
astone123 Sep 20, 2023
0ba2a48
test: adding back protocol component tests (#27697)
mschile Sep 20, 2023
311001b
chore: improve logging on retried upload failures (#27847)
ryanthemanuel Sep 20, 2023
3477e4d
chore: remove Github Action for triggering CircleCI pipeline (#27865)
astone123 Sep 20, 2023
887cd40
dependency(deps): update dependency electron to v25.8.1 [security] (#…
renovate[bot] Sep 21, 2023
154311a
chore: gate restricted contexts with approval job for contributor wor…
astone123 Sep 21, 2023
ce17a44
fix: issue with font flooding (#27860)
ryanthemanuel Sep 21, 2023
273d8ce
chore: skip binary jobs if we don't have a circle token (#27876)
astone123 Sep 21, 2023
199f4c3
chore: remove KPI generation workflow (#27887)
Sep 22, 2023
b1efbaf
chore(deps): update dependency systeminformation to v5.21.7 [security…
renovate[bot] Sep 25, 2023
dbfb3e6
chore: Update installation requirements in CONTRIBUTING.md (#27878)
Crustum7 Sep 25, 2023
b114dce
fix: statusCode allow 999 (#27853)
riwu Sep 25, 2023
a1b4124
chore: release 13.3.0 (#27900)
astone123 Sep 25, 2023
1ec045f
chore: fix action to properly add PR to the Triage Board for visibili…
Sep 27, 2023
0871b03
chore: update 13.3.0 release date in changelog (#27918)
astone123 Sep 27, 2023
8da1e5c
fix: correlate prerequests in order instead of reverse order (#27892)
ryanthemanuel Sep 27, 2023
654e501
chore: add manifest.v3 extension for chrome (#27888)
cacieprins Sep 28, 2023
12d61d7
chore: Update Chrome (stable) to 117.0.5938.132 and Chrome (beta) to …
github-actions[bot] Sep 28, 2023
fa55a43
chore: update electron 🌟 (#27940)
renovate[bot] Sep 29, 2023
2c9a317
chore: update the packages/electron README to update the electron upd…
AtofStryker Sep 29, 2023
9ca7883
fix: set a crashed flag when cri detects a crash (#27909)
cacieprins Oct 2, 2023
a364f24
chore: Update v8 snapshot cache (#27877)
github-actions[bot] Oct 2, 2023
59fb48b
test: re-enable test for --headless=old (#27932)
mschile Oct 2, 2023
6073426
chore: remove binary build step from Linux CI (#27959)
astone123 Oct 3, 2023
c573160
fix: yield waited responses in the order that they occured (#27806)
astone123 Oct 3, 2023
784f0cf
chore: add utility for purging urls from Cloudflare cache (#27923)
astone123 Oct 4, 2023
4c11731
chore: optimize task execution (#27848)
astone123 Oct 4, 2023
6bdebd7
chore: follow-up cli optimizations (#27974)
dkasper-was-taken Oct 4, 2023
86057dc
chore: add @packages/example as a dependency of create-cypress-tests …
astone123 Oct 5, 2023
9659e18
chore: remove build step from `unit-tests` workflow use cached artifa…
dkasper-was-taken Oct 5, 2023
92cc6da
chore: exit successfully when test report directory doesn't exist (#2…
astone123 Oct 6, 2023
1a6f879
fix: report results correctly when the browser crashes mid-test (#27786)
cacieprins Oct 6, 2023
9f3d5b4
fix: build better-sqlite3 (#27968)
ryanthemanuel Oct 9, 2023
b3b7d3b
chore: fix component tests in contributor flow (#27883)
young-robot Oct 10, 2023
078dc0a
fix: support proxy correlation timeout notifications and additional p…
ryanthemanuel Oct 10, 2023
34c8b1f
refactor: Spellcheck (#27964)
calvinballing Oct 11, 2023
093d78a
docs: update code of conduct (#27988)
abhisar-yadav Oct 11, 2023
5efecf9
chore: fix problem with single tab run mode introduced by #27786 (#28…
ryanthemanuel Oct 11, 2023
4e720c8
chore: fix types breaking due to exposing too much inside of protocol…
ryanthemanuel Oct 11, 2023
6373930
chore: release 13.3.1 (#28022)
dkasper-was-taken Oct 11, 2023
facf87d
fix(deps): update dependency zod to v3.22.3 [security] (#27966)
renovate[bot] Oct 13, 2023
5a7eee5
fix(grep): fix options sent to fast glob package - issue 27216 (#27231)
samtsai Oct 13, 2023
bffc2f3
chore: use env to override branch instead of cli arg (#28057)
astone123 Oct 16, 2023
861474f
chore: release @cypress/grep-v4.0.1
semantic-release-bot Oct 16, 2023
c8c5b51
dependency: packages/data-context/package.json to reduce vulnerabilit…
ryanthemanuel Oct 16, 2023
fd2a27d
chore: release create-cypress-tests-v2.0.4
semantic-release-bot Oct 16, 2023
ca6d30d
fix: force gzip when no accept encoding header is sent and use identi…
ryanthemanuel Oct 17, 2023
a96b9b1
chore: remove Cypress Conf promo from README (#28076)
astone123 Oct 17, 2023
ff89ffa
fix: proxy issues with service workers and clean up at end of specs (…
ryanthemanuel Oct 18, 2023
5d667b3
chore: update cache-version date (#28084)
mschile Oct 18, 2023
04a1156
chore: 13.3.2 release (#28086)
mschile Oct 18, 2023
74a06c5
fix: ignore dash, underscore and space in search (#28012)
janlengyel Oct 23, 2023
d960686
fix: fix failures and correlation in proxy (#28094)
ryanthemanuel Oct 23, 2023
dbd2139
fix: issue with proxy correlations and web/shared workers (#28105)
ryanthemanuel Oct 24, 2023
7f01e8d
chore: 13.3.3 release updates (#28129)
mschile Oct 24, 2023
058f3a8
test: fix spec search in windows (#28130)
mschile Oct 24, 2023
186f725
docs: fix typos in guides (#28120)
shresthasurav Oct 24, 2023
09fa9d7
chore: update homepage field to point to marketing site (#28133)
astone123 Oct 25, 2023
15f7300
fix: issue with service worker attachments (#28147)
ryanthemanuel Oct 26, 2023
80cc83d
chore: fix test flake with shared workers and correlating on failures…
ryanthemanuel Oct 26, 2023
201e9f3
feat: experimental retries (#27930)
AtofStryker Oct 26, 2023
b4cfb47
chore: update @ffprobe-installer/ffprobe so all system tests run on d…
cacieprins Oct 26, 2023
95d1a0c
chore: updating v8 snapshot cache
Oct 26, 2023
f30a16a
chore: updating v8 snapshot cache
Oct 26, 2023
4036d71
chore: update changelog for #28141 fix (#28161)
ryanthemanuel Oct 27, 2023
7defccf
chore: increase timeout for experimental retries test (#28163)
cacieprins Oct 27, 2023
e0ad2d7
chore: fixes changelog whitespace (#28164)
cacieprins Oct 27, 2023
397ab4c
chore: 13.4.0 release updates (#28166)
cacieprins Oct 27, 2023
08d73d4
chore: fixes changelog whitespace (#28168)
cacieprins Oct 27, 2023
c097aa0
Merge branch 'develop' into feature/test-burn-in
cacieprins Oct 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/cache-version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Bump this version to force CI to re-create the cache from scratch.

09-3-23
10-25-23.1
596 changes: 539 additions & 57 deletions .circleci/workflows.yml

Large diffs are not rendered by default.

111 changes: 0 additions & 111 deletions .github/workflows/report_weekly_app_kpis.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/trigger_circleci.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/update-browser-versions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Update Browser Versions
on:
workflow_dispatch:

schedule:
- cron: '0 8 * * *' # every day at 8am UTC (3/4am EST/EDT)
jobs:
Expand Down Expand Up @@ -104,6 +106,7 @@ jobs:
})
# Update available and a PR doesn't already exist
- name: Create Pull Request
id: create-pr
if: ${{ steps.check-need-for-pr.outputs.needs_pr == 'true' }}
uses: actions/github-script@v6
with:
Expand All @@ -117,4 +120,5 @@ jobs:
branchName: '${{ steps.check-branch.outputs.branch_name }}',
description: '${{ steps.get-versions.outputs.description }}',
body: 'This PR was auto-generated to update the version(s) of Chrome for driver tests',
addToProjectBoard: true,
})
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@
"processId": "${command:PickProcess}",
"continueOnAttach": true
},
{
"type": "node",
"request": "attach",
"name": "Attach to port 5566",
"port": 5566,
"continueOnAttach": true,
},
{
"type": "node",
"request": "attach",
"name": "Attach to Docker",
"port": 5566,
"continueOnAttach": true,
"remoteRoot": "/opt/cypress",
},
{
"type": "node",
"request": "attach",
Expand Down
49 changes: 49 additions & 0 deletions .yarnclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# test directories
__tests__
test
tests
powered-test

# asset directories
docs
doc
# yaml package has a `doc` folder that we need
!yaml/**/doc/*
website
images
assets
!mochawesome-report-generator/dist/assets

# examples
example
!@packages/example
examples

# code coverage directories
coverage
.nyc_output

# build scripts
Makefile
Gulpfile.js
Gruntfile.js

# configs
appveyor.yml
circle.yml
codeship-services.yml
codeship-steps.yml
wercker.yml
.tern-project
.gitattributes
.editorconfig
.*ignore
.eslintrc
.jshintrc
.flowconfig
.documentup.json
.yarn-metadata.json
.travis.yml

# misc
*.md
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Expand All @@ -20,13 +20,13 @@ Examples of unacceptable behavior by participants include:
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
* Other conduct that could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

Expand Down
19 changes: 18 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ You must have the following installed on your system to contribute locally:
- [`Node.js`](https://nodejs.org/en/) (See the root [.node-version](.node-version) file for the required version. You can find a list of tools on [node-version-usage](https://github.com/shadowspawn/node-version-usage) to switch the version of [`Node.js`](https://nodejs.org/en/) based on [.node-version](.node-version).)
- [`yarn`](https://yarnpkg.com/en/docs/install)
- [`python`](https://www.python.org/downloads/) (since we use `node-gyp`. See their [repo](https://github.com/nodejs/node-gyp) for Python version requirements.)
- Note for Debian-based systems: `python` is pre-installed.<br>`sudo apt install g++ make cmake` meets the additional requirements to run `node-gyp` in the context of building Cypress from source.

### Getting Started

Expand Down Expand Up @@ -363,6 +364,8 @@ Additionally, we test the code by running it against various other example proje

If you're curious how we manage all of these tests in CI check out our [CircleCI config](.circleci/config.yml).

Some of our test jobs in CircleCI require access to environment variables that are sensitive and are restricted to Cypress maintainers only. If you are not a Cypress maintainer, when your CI job runs, only a subset of jobs will run at first. A Cypress maintainer will need to approve the `contributor-pr` job in your workflow in order for your CI pipeline to complete.

#### Docker

Sometimes tests pass locally, but fail in CI. Our CI environment is dockerized. In order to run the image used in CI locally:
Expand Down Expand Up @@ -396,6 +399,20 @@ $ yarn add https://cdn.cypress.io/beta/npm/.../cypress.tgz

Note that unzipping the Linux binary inside a Docker container onto a mapped volume drive is *slow*. But once this is done you can modify the application resource folder in the local folder `/tmp/test-folder/node_modules/cypress/cypress-cache/3.3.0/Cypress/resources/app` to debug issues.

#### Docker as a performance constrained environment

Sometimes performance issues are easier to reproduce in performance constrained environments. A docker container can be a good way to simulate this locally and allow for quick iteration.

In a fresh cypress repository run the following command:

```shell
docker compose run --service-port dev
```

This will spin up a docker container based off cypress/browsers:latest and start up the bash terminal. From here you can yarn install and develop as normal, although slower. It's recommend that you run this in a fresh repo because node modules may differ between an install on your local device and from within a linux docker image.

Ports 5566 and 5567 are available to attach debuggers to, please note that docker compose run only maps ports if the `--service-port` command is used.

### Packages

Generally when making contributions, you are typically making them to a small number of packages. Most of your local development work will be inside a single package at a time.
Expand All @@ -414,7 +431,7 @@ The repository has one protected branch:

We want to publish our [standalone npm packages](./npm) continuously as new features are added. Therefore, after any pull request that changes independent `@cypress/` packages in the [`npm`](./npm) directory will automatically publish when a PR is merged directly into `develop` and the entire build passes. We used [`semantic-release`](https://semantic-release.gitbook.io/semantic-release/) to automate the release of these packages to npm.

We do not continuously deploy the Cypress binary, so `develop` contains all of the new features and fixes that are staged to go out in the next update of the main Cypress app. If you make changes to an npm package that can't be published until the binary is also updated, you should make a pull request against specifying this is not be merged until the scheduled Cypress app release date.
We do not continuously deploy the Cypress binary, so `develop` contains all of the new features and fixes that are staged to go out in the next update of the main Cypress app. If you make changes to an npm package that can't be published until the binary is also updated, the pull request should clearly state that it should not be merged until the next scheduled Cypress app release date.

### Pull Requests

Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
<p align="center">
Fast, easy and reliable testing for anything that runs in a browser.
</p>
<p align="center">
<a href="https://bit.ly/3P7ufFf">
<img alt="Cypress Conf Link" src="https://github-production-user-asset-6210df.s3.amazonaws.com/1087311/261085338-e2915eb2-13da-4ca6-b909-f835c6b6074d.jpeg" width="40%" height="40%" />
</a>
</p>
<p align="center">
Join us, we're <a href="https://cypress.io/jobs">hiring</a>.
</p>
Expand Down
4 changes: 2 additions & 2 deletions browser-versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"chrome:beta": "115.0.5790.13",
"chrome:stable": "114.0.5735.106",
"chrome:beta": "118.0.5993.21",
"chrome:stable": "117.0.5938.132",
"chrome:minimum": "64.0.3282.0"
}
9 changes: 9 additions & 0 deletions centos7-builder.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM centos:7
# Install dependencies for re-building better-sqlite and setting devtoolset-8 as the default compiler
RUN yum -y install centos-release-scl curl python3 make atk-devel atk java-atk-wrapper at-spi2-atk gtk3 libXt libdrm mesa-libgbm Xvfb && yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++
RUN echo >> /etc/profile.d/devtoolset-8.sh 'source scl_source enable devtoolset-8'
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
RUN echo >> /etc/profile.d/nvm.sh 'source ~/.nvm/nvm.sh'
# Node 16 is the most recent version that supports CentOS 7. We only need it to
# re-build better-sqlite, so there should be minimal risk of security issues.
RUN source ~/.nvm/nvm.sh && nvm install 16.20.2 && npm install -g yarn
Loading
Loading