Skip to content

Commit 49feda7

Browse files
authored
Merge pull request #127 from argos-ci/fix-argos-flaky
test: fix argos flaky tests
2 parents 36d5d8d + f7c89df commit 49feda7

File tree

5 files changed

+20
-17
lines changed

5 files changed

+20
-17
lines changed

app/home/common/CiCheck.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const Check = ({
6161
status === "pending" && "border-amber-6 bg-amber-2",
6262
className,
6363
)}
64+
data-visual-test="blackout"
6465
>
6566
<CheckIcon status={status} />
6667
<div className="flex h-6 w-6 items-center justify-center rounded border bg-white">

app/home/demo-video/demoVideo.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export function DemoVideo() {
1717
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
1818
allowFullScreen
1919
className="absolute inset-0 h-full w-full"
20+
data-visual-test="blackout"
2021
/>
2122
</div>
2223
</Container>

app/playwright/video/Video.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export function Video() {
2121
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
2222
allowFullScreen
2323
className="absolute inset-0 h-full w-full"
24+
data-visual-test="blackout"
2425
/>
2526
</div>
2627
</Container>

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"zod": "^3.22.4"
4343
},
4444
"devDependencies": {
45-
"@argos-ci/cli": "^1.0.5",
46-
"@argos-ci/cypress": "^1.3.0",
45+
"@argos-ci/cli": "^1.0.9",
46+
"@argos-ci/cypress": "^1.5.0",
4747
"@babel/core": "^7.23.7",
4848
"@radix-ui/colors": "^3.0.0",
4949
"@tailwindcss/typography": "^0.5.10",

pnpm-lock.yaml

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)