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

add percy integration #124

Open
wants to merge 39 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
dcc5b46
update cypress
dpatil-magento Oct 7, 2024
31b6f6f
update
dpatil-magento Oct 7, 2024
bff6872
update
dpatil-magento Oct 7, 2024
0ea3671
update
dpatil-magento Oct 7, 2024
b35da53
update
dpatil-magento Oct 7, 2024
8c57e75
update
dpatil-magento Oct 7, 2024
21d57cd
update
dpatil-magento Oct 7, 2024
335e48c
update
dpatil-magento Oct 7, 2024
bb290fc
update
dpatil-magento Oct 7, 2024
7063664
Merge branch 'develop' into percy-demo-new
dpatil-magento Oct 8, 2024
4bb784a
update
dpatil-magento Oct 16, 2024
804404e
test
dpatil-magento Oct 16, 2024
bccf626
update
dpatil-magento Oct 16, 2024
0dc6d66
update
dpatil-magento Oct 16, 2024
77be458
update
dpatil-magento Oct 16, 2024
d293de0
update
dpatil-magento Oct 16, 2024
572f8f4
fix mobile screen with percy
dpatil-magento Oct 16, 2024
dbd46a3
update
dpatil-magento Oct 16, 2024
7d59d23
recheck
dpatil-magento Oct 16, 2024
be52271
check mobile view fix
dpatil-magento Oct 16, 2024
674c544
update
dpatil-magento Oct 16, 2024
ae4104c
update
dpatil-magento Oct 16, 2024
4f0390c
test
dpatil-magento Oct 16, 2024
4e11e09
update
dpatil-magento Oct 16, 2024
d900c75
update
dpatil-magento Oct 16, 2024
9168ebd
disable mobile
dpatil-magento Oct 17, 2024
d20bf6e
update
dpatil-magento Oct 17, 2024
01d182d
avoid duplicating
dpatil-magento Oct 17, 2024
098b084
update
dpatil-magento Oct 17, 2024
09b5057
cleanup
dpatil-magento Oct 17, 2024
220a3f0
Check stability 1
dpatil-magento Oct 17, 2024
8af1fa2
Check stability 2
dpatil-magento Oct 17, 2024
5eaf1c4
Merge branch 'develop' into percy-demo-new
dpatil-magento Oct 17, 2024
b97a8db
Merge branch 'develop' into percy-demo-new
dpatil-magento Oct 17, 2024
4984a8b
fix missed conflict
dpatil-magento Oct 17, 2024
8cdc92a
Merge branch 'develop' into percy-demo-new
dpatil-magento Oct 17, 2024
1a19f9d
Merge branch 'develop' into percy-demo-new
dpatil-magento Oct 17, 2024
bd435fc
update
dpatil-magento Oct 17, 2024
1d01aff
Merge branch 'develop' into percy-demo-new
dpatil-magento Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/run-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
browser: chrome
wait-on: 'http://localhost:3000'
config: baseUrl=http://localhost:3000
command: npm run cypress:percy
env:
# pass the Percy Token
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

So this is something that can only be run on CICD? Will it gracefully fail if we run cypress locally?

Copy link

Choose a reason for hiding this comment

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

Only the GitHub action uses percy. Locally you run cypress in your own browser via the cypres:run command.

Copy link
Collaborator

Choose a reason for hiding this comment

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

There are test lines which include calls to Percy - just making sure these won't fail.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Dev told me that these percy commands are just skipped and do not throw if you do not have the percy token. 👍🏼

- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down
Loading