Skip to content

Commit

Permalink
Merge pull request #199 from 1ilsang/docs/visual-testing
Browse files Browse the repository at this point in the history
Docs/visual testing
  • Loading branch information
1ilsang authored May 9, 2024
2 parents 23af691 + 1a6e8b2 commit e919190
Show file tree
Hide file tree
Showing 16 changed files with 1,246 additions and 12 deletions.
476 changes: 476 additions & 0 deletions _posts/js/visual-regression-test.md

Large diffs are not rendered by default.

375 changes: 375 additions & 0 deletions e2e/__snapshots__/post/dom.spec.ts/desktop/visual-regression-test.html

Large diffs are not rendered by default.

375 changes: 375 additions & 0 deletions e2e/__snapshots__/post/dom.spec.ts/mobile/visual-regression-test.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/__snapshots__/post/screen.spec.ts/mobile/2024-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/__snapshots__/post/screen.spec.ts/mobile/junction2023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/__snapshots__/post/screen.spec.ts/mobile/mac-init-apps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/__snapshots__/post/screen.spec.ts/mobile/mdn-ko-organizer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion e2e/__snapshots__/posts.spec.ts/desktop/posts.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion e2e/__snapshots__/posts.spec.ts/mobile/posts.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion e2e/post/common.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { urls } from './utils';

test.describe('common', () => {
test('Check all post count', () => {
const ALL_POST_COUNT = 32;
const ALL_POST_COUNT = 33;
expect(urls.length).toEqual(ALL_POST_COUNT);
});
});
19 changes: 10 additions & 9 deletions src/features/styles/ui/posts/posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,10 @@
padding: 1vh 2vw;
content-visibility: auto;
margin-bottom: 15px;
border-radius: 40px 80px / 80px 40px;

&:hover {
color: white;
text-shadow:
-0.5px 0 $base-color,
0 0.5px $base-color,
0.5px 0 $base-color,
0 -0.5px $base-color;
color: $background-color;
border-radius: 40px 80px / 80px 40px;
background: linear-gradient(
-45deg,
#ee7752,
Expand Down Expand Up @@ -106,8 +101,14 @@
margin-top: 0.5rem;

.title {
font-size: 1.4rem;
margin: 0 1rem 0.3rem 0;
font-size: 1.5rem;
text-shadow:
-0.5px 0 $base-color,
0 0.5px $base-color,
0.5px 0 $base-color,
0 -0.5px $base-color;
text-decoration: underline 0.15em #42506117;
margin-bottom: 0.3rem;
}
}

Expand Down
7 changes: 7 additions & 0 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ export default class MyDocument extends Document {
rel="preload"
crossOrigin="anonymous"
/>
<link
href="/assets/D2CodingBold.woff2"
as="font"
type="font/woff2"
rel="preload"
crossOrigin="anonymous"
/>
<Favicon />
</Head>
<body>
Expand Down

0 comments on commit e919190

Please sign in to comment.