Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #429 from open-sauced/beta
Browse files Browse the repository at this point in the history
v2.29.0-beta.4 -> main
  • Loading branch information
bdougie authored Dec 17, 2022
2 parents b7773ea + 99278c4 commit dc009c6
Show file tree
Hide file tree
Showing 11 changed files with 330 additions and 35 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,3 @@ build
**/__snapshots__
.env*
!.env

#local history folder
/.history
/test-results/
/playwright-report/
/playwright/.cache/
44 changes: 43 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,55 @@

> All notable changes to this project will be documented in this file
## [2.29.0](https://github.com/open-sauced/hot-sauce/compare/v2.28.0...v2.29.0) (2022-12-17)
## [2.30.0-beta.1](https://github.com/open-sauced/hot-sauce/compare/v2.29.0...v2.30.0-beta.1) (2022-12-17)


### 🍕 Features

* create admin status bar ([#401](https://github.com/open-sauced/hot-sauce/issues/401)) ([91b1ee3](https://github.com/open-sauced/hot-sauce/commit/91b1ee3e312d3bb6d10eb88131b2a304ed927ef2)), closes [#110](https://github.com/open-sauced/hot-sauce/issues/110)


### 🐛 Bug Fixes

* e2e testing not working in CI ([#421](https://github.com/open-sauced/hot-sauce/issues/421)) ([8fd254f](https://github.com/open-sauced/hot-sauce/commit/8fd254fd6b6593ef5e82c74fab117e4c84c5a814))
* header and footer accessibility fixes: color contrast and image titles ([#427](https://github.com/open-sauced/hot-sauce/issues/427)) ([c154634](https://github.com/open-sauced/hot-sauce/commit/c15463460f7c0c8239b0b9a2c7d35c8b454d6309))
* typo in handleVoteUpdateByRepo.ts ([#424](https://github.com/open-sauced/hot-sauce/issues/424)) ([4033a80](https://github.com/open-sauced/hot-sauce/commit/4033a80bb1e9b9c73a734342fd91c0a6c1c58e6d))
* use aria-label instead of title for footer icons ([#428](https://github.com/open-sauced/hot-sauce/issues/428)) ([7b150a6](https://github.com/open-sauced/hot-sauce/commit/7b150a623c2c34cb7e02b3da93891381763bb1ad))

## [2.29.0](https://github.com/open-sauced/hot-sauce/compare/v2.28.0...v2.29.0) (2022-12-17)

* Update HotRepositories repos ([#430](https://github.com/open-sauced/hot-sauce/issues/430)) ([50286ff](https://github.com/open-sauced/hot-sauce/commit/50286ffc6ad556536896a1e04dd78ec8fe52345a))


## [2.29.0-beta.4](https://github.com/open-sauced/hot-sauce/compare/v2.29.0-beta.3...v2.29.0-beta.4) (2022-12-14)


### 🐛 Bug Fixes

* use aria-label instead of title for footer icons ([#428](https://github.com/open-sauced/hot-sauce/issues/428)) ([7b150a6](https://github.com/open-sauced/hot-sauce/commit/7b150a623c2c34cb7e02b3da93891381763bb1ad))

## [2.29.0-beta.3](https://github.com/open-sauced/hot-sauce/compare/v2.29.0-beta.2...v2.29.0-beta.3) (2022-12-12)


### 🐛 Bug Fixes

* header and footer accessibility fixes: color contrast and image titles ([#427](https://github.com/open-sauced/hot-sauce/issues/427)) ([c154634](https://github.com/open-sauced/hot-sauce/commit/c15463460f7c0c8239b0b9a2c7d35c8b454d6309))
* typo in handleVoteUpdateByRepo.ts ([#424](https://github.com/open-sauced/hot-sauce/issues/424)) ([4033a80](https://github.com/open-sauced/hot-sauce/commit/4033a80bb1e9b9c73a734342fd91c0a6c1c58e6d))

## [2.29.0-beta.2](https://github.com/open-sauced/hot-sauce/compare/v2.29.0-beta.1...v2.29.0-beta.2) (2022-12-08)


### 🐛 Bug Fixes

* e2e testing not working in CI ([#421](https://github.com/open-sauced/hot-sauce/issues/421)) ([8fd254f](https://github.com/open-sauced/hot-sauce/commit/8fd254fd6b6593ef5e82c74fab117e4c84c5a814))

## [2.29.0-beta.1](https://github.com/open-sauced/hot-sauce/compare/v2.28.0...v2.29.0-beta.1) (2022-12-06)


### 🍕 Features

* create admin status bar ([#401](https://github.com/open-sauced/hot-sauce/issues/401)) ([91b1ee3](https://github.com/open-sauced/hot-sauce/commit/91b1ee3e312d3bb6d10eb88131b2a304ed927ef2)), closes [#110](https://github.com/open-sauced/hot-sauce/issues/110)

## [2.28.0](https://github.com/open-sauced/hot-sauce/compare/v2.27.0...v2.28.0) (2022-12-02)


Expand Down
17 changes: 15 additions & 2 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@open-sauced/hot",
"description": "🍕The site that recommends the hottest sauce.",
"keywords": [],
"version": "2.29.0",
"version": "2.30.0-beta.1",
"author": "TED Vortex <ted.vortex@gmail.com>",
"private": true,
"license": "MIT",
Expand All @@ -27,6 +27,7 @@
"types:auto-check": "npm run types:auto-add -- --dry",
"preinstall": "npx @open-sauced/check-engines",
"prestart": "npx @open-sauced/check-engines",
"pretest": "npm run test:e2e-install",
"push": "npx @open-sauced/conventional-commit",
"start": "npx vite",
"build": "npx tsc && npx vite build",
Expand All @@ -35,11 +36,15 @@
"build:analyze": "npm run build -- --mode report",
"build:svgo": "npx svgo src/**/*.svg --config ./.svgorc.cjs",
"build:squoosh": "node .squoosh.mjs '{src,public}/**/*.{jpg,jpeg,png,gif}'",
"test": "npx vitest",
"test:watch": "npm run test -- --watch",
"test:all": "npm run test -- --silent --watchAll=false",
"test:coverage": "npx vitest run --coverage",
"test:e2e": "npx playwright test",
"test": "npm run test:all && npm run test:e2e",
"test:vitest": "npx vitest",
"test:watch": "npm run test:vitest -- --watch",
"test:all": "npm run test:vitest -- --silent --watch=false",
"test:coverage": "npm run test:vitest -- --coverage",
"test:playwright": "npx playwright",
"test:e2e-install": "npm run test:playwright -- install && npx playwright install-deps",
"test:e2e": "npm run test:playwright -- test",
"test:e2e-report": "npm run test:playwright -- show-report",
"lint": "npx eslint . --report-unused-disable-directives",
"format": "npm run lint -- --fix"
},
Expand All @@ -49,6 +54,7 @@
"@supabase/supabase-js": "^1.35.5",
"classnames": "^2.3.1",
"dayjs": "^1.11.4",
"humanize-duration": "^3.27.3",
"posthog-js": "^1.26.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -72,6 +78,7 @@
"@testing-library/user-event": "^14.4.1",
"@types/eslint": "^8.4.5",
"@types/glob": "^7.2.0",
"@types/humanize-duration": "^3.27.1",
"@types/lodash": "^4.14.182",
"@types/node": "^18.6.3",
"@types/node-notifier": "^8.0.2",
Expand Down
17 changes: 8 additions & 9 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import type { PlaywrightTestConfig } from '@playwright/test';
import { devices } from '@playwright/test';

/**
* Read environment variables from file.
* https://github.com/motdotla/dotenv
*/
// require('dotenv').config();

/**
* See https://playwright.dev/docs/test-configuration.
*/
const config: PlaywrightTestConfig = {
testDir: './src/e2e',
testDir: './src/e2e-tests',
/* Maximum time one test can run for. */
timeout: 30 * 1000,
expect: {
Expand All @@ -30,7 +24,12 @@ const config: PlaywrightTestConfig = {
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
reporter: [
['html', {
outputFolder: 'coverage/e2e-html',
open: "on-failure",
}]
],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
Expand Down Expand Up @@ -95,7 +94,7 @@ const config: PlaywrightTestConfig = {
],

/* Folder for test artifacts such as screenshots, videos, traces, etc. */
// outputDir: 'test-results/',
outputDir: 'coverage/e2e-artifacts',

/* Run your local dev server before starting the tests */
webServer: {
Expand Down
2 changes: 1 addition & 1 deletion public/diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit dc009c6

Please sign in to comment.