Skip to content

Commit

Permalink
test(connect): add solana to connect test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan committed Jan 14, 2025
1 parent 52b293d commit 0294772
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/connect/e2e/__wscache__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const transformCoinsJson = json => {
Object.keys(json).forEach(key => {
json[key].forEach(coin => {
if (coin.blockchain_link) {
// Skip for Solana, it uses a combination of HTTP and WebSocket, therefore it is not supported currently
if (coin.blockchain_link.type === 'solana') return;

const query = `?type=${coin.blockchain_link.type}&shortcut=${coin.shortcut}&suffix=/websocket`;
coin.blockchain_link.url = [`ws://localhost:18088/${query}`];
}
Expand Down
6 changes: 6 additions & 0 deletions scripts/ci/connect-test-matrix-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ const groups = {
pattern: 'methods',
includeFilter: 'binanceGetAddress,binanceGetPublicKey,binanceSignTransaction',
},
solana: {
name: 'solana',
pattern: 'methods',
includeFilter:
'solanaGetAddress,solanaGetPublicKey,solanaSignTransaction,solanaComposeTransaction',
},
};

const firmwares1 = ['1.9.0', '1-latest', '1-main'];
Expand Down

0 comments on commit 0294772

Please sign in to comment.