Skip to content

chore: dockerize browser tests - #598

Merged
kellyjosephprice merged 36 commits into
nextfrom
chore/dockerize-browser-tests
Oct 17, 2022
Merged

chore: dockerize browser tests#598
kellyjosephprice merged 36 commits into
nextfrom
chore/dockerize-browser-tests

Conversation

@kellyjosephprice

@kellyjosephprice kellyjosephprice commented Oct 17, 2022

Copy link
Copy Markdown
Contributor
PR App

🧰 Changes

Dockerize browser tests so people can run them locally.

The snapshot tests are pretty environment specific. CI typically uses ubuntu and most of the devs are running OSX. I believe a bunch of time was spent trying to get the font config to match, but it didn't quite work? So this re-opens an old PR that runs the snapshot tests in a docker container.

Prior to this, the workflow had been:

  1. update a branch
  2. wait for the CI to fail
  3. download the snapshots/diffs from github
  4. re-update branch

Now, if you're clever, you can run the tests before updating the branch. Or, more likely, not have to dig the github actions UI to download the snapshots, and instead generate them locally.

To update the snapshots:

make updateSnapshot

🧬 QA & Testing

@kellyjosephprice
kellyjosephprice force-pushed the chore/dockerize-browser-tests branch from fa473c7 to 3568f3b Compare October 17, 2022 21:32
@github-actions

Copy link
Copy Markdown

⚠️ There was a problem deploying this review app to Heroku.

Heroku Review App #245 failed.

📄 Review the GitHub Action logs: https://github.com/readmeio/markdown/actions/runs/3268769275

🔍 Inspect the app in Heroku: https://dashboard.heroku.com/apps/markdown-pr-598

@github-actions

github-actions Bot commented Oct 17, 2022

Copy link
Copy Markdown

A review app has been launched for this PR!

🔍 Inspect the app: https://dashboard.heroku.com/apps/markdown-pr-598

🧭 Take it for a spin: https://markdown-pr-598.herokuapp.com/

@kellyjosephprice
kellyjosephprice requested review from a team, ellierossuck, erunion and thenaomiday and removed request for a team October 17, 2022 22:09
@kellyjosephprice
kellyjosephprice marked this pull request as ready for review October 17, 2022 22:09

@ellierossuck ellierossuck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES PLEASE! This is an awesome change, I always forgot where to find the snapshots within the GH actions UI, it was very confusing to me

@kellyjosephprice
kellyjosephprice merged commit c6a43ee into next Oct 17, 2022
@kellyjosephprice
kellyjosephprice deleted the chore/dockerize-browser-tests branch October 17, 2022 22:45
rafegoldberg pushed a commit that referenced this pull request Oct 20, 2022
## Version 6.53.1

### 📘 Tests & Docs

* add link for emoji list ([#547](#547)) ([bab15ff](bab15ff))

### 🛠 Fixes & Updates

* **deps-dev:** bump @testing-library/react from 12.1.2 to 12.1.5 ([#504](#504)) ([a9ffb70](a9ffb70))
* **deps:** bump npm from 8.10.0 to 8.13.2 ([#533](#533)) ([3ca6ac8](3ca6ac8))
* **deps:** bump nth-check from 2.0.0 to 2.0.1 ([#444](#444)) ([67191cd](67191cd))
* **deps:** bump scss-tokenizer from 0.3.0 to 0.4.3 ([#596](#596)) ([d91f5da](d91f5da))
* **deps:** bump semver-regex from 3.1.2 to 3.1.4 ([#497](#497)) ([3171fcb](3171fcb))
* **deps:** bump undici from 5.8.0 to 5.9.1 ([#572](#572)) ([5028530](5028530))
* dockerize browser tests ([#598](#598)) ([c6a43ee](c6a43ee))

### ✨ New & Improved

* **glossary:** dark mode ([#599](#599)) ([6d9e7eb](6d9e7eb))

<!--SKIP CI-->
@rafegoldberg

Copy link
Copy Markdown
Collaborator

This PR was released!

🚀 Changes included in v6.53.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants