Skip to content

fix: tests removing ROCOCO contracts #570

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

Merged
merged 4 commits into from
Jun 6, 2025
Merged

Conversation

AlexD10S
Copy link
Contributor

@AlexD10S AlexD10S commented Jun 2, 2025

This PR addresses issues with failing tests when run locally due to dependencies on the now-inactive ROCOCO Contracts parachain.

Changes

  • Replaced the endpoint for the ROCOCO Contracts parachain with a stable testnet supporting pallet_contracts: wss://rococo-contracts-rpc.polkadot.io → now using Pop Network
  • Removed messaging and defaults referencing ROCOCO_CONTRACTS as the default chain.
  • Upgraded Yarn to a newer version to resolve issues encountered during local test runs.
  • The CI jobs: ui-chrome-tests and ui-firefox-tests were failing too: https://github.com/use-ink/contracts-ui/actions/runs/15389251564. Fixed updating cypress and cypress.config.ts

Steps to run tests locally:

  1. Start a local contracts node: https://github.com/use-ink/substrate-contracts-node?tab=readme-ov-file#usage
  2. yarn
  3. yarn start

Copy link

netlify bot commented Jun 2, 2025

Deploy Preview for ui-use-ink ready!

Name Link
🔨 Latest commit 95cae9e
🔍 Latest deploy log https://app.netlify.com/projects/ui-use-ink/deploys/683d79a09fc65b000828daaf
😎 Deploy Preview https://deploy-preview-570--ui-use-ink.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@AlexD10S AlexD10S force-pushed the tests/remove-rococo-contracts branch from 939b9be to 806f992 Compare June 2, 2025 10:07
@AlexD10S AlexD10S requested review from cmichi and peterwht June 2, 2025 12:59
Copy link
Collaborator

@cmichi cmichi left a comment

Choose a reason for hiding this comment

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

Nice!

@AlexD10S AlexD10S merged commit 88477b8 into master Jun 6, 2025
11 checks passed
@AlexD10S AlexD10S deleted the tests/remove-rococo-contracts branch June 6, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants