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

Cypress component test #1257

Merged
merged 23 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
copy folder from a branch
  • Loading branch information
Sanghavi authored and Sanghavi committed Nov 8, 2022
commit d03cf7a1fc2846cda45f7cb6f34be96c61885680
5 changes: 3 additions & 2 deletions .github/workflows/webviz-subsurface-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
if: github.event_name != 'release' && matrix.e2e-tests
run: |
cd react
git checkout cypress-snaps -- cypress-visual-screenshots
npx cypress run -b chrome --component --headed

# upload the failure screenshots for reference
Expand Down Expand Up @@ -208,7 +209,7 @@ jobs:
rm -rf cypress/screenshots
rm -rf cypress/videos
else
echo "false" >> $GITHUB_OUTPUT
echo '::set-output name=status::false'
fi

- name: Create Pull Request
Expand All @@ -219,6 +220,6 @@ jobs:
commit-message: updated cypress snapshots
title: Cypress - New Snapshots generated for the commit "${{ github.event.head_commit.message }}" by ${{ github.event.commits[0].author.email }}
body: This is an auto-generated PR to update cypress snapshots.
base: ${{ github.head_ref }}
base: cypress-snaps
reviewers: ${{ github.event.sender.login }}
delete-branch: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Missing newline

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it, will fix it

Binary file not shown.