Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 19, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>[BUG] </issue_title>
<issue_description>## Bug Description
A clear and concise description of what the bug is.

Steps to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior

A clear and concise description of what you expected to happen.

Actual Behavior

A clear and concise description of what actually happened.

Environment Information

  • Onchain Test Kit Version: [e.g., 1.2.0]
  • Node.js Version: [e.g., 18.17.0]
  • Operating System: [e.g., macOS 13.4, Windows 11, Ubuntu 20.04]
  • Browser: [e.g., Chrome 115, Firefox 116]
  • Wallet: [e.g., MetaMask, Coinbase Wallet, Phantom]

Configuration Used

// Paste your configuration code here
const config = configure()
  .withMetaMask()
  // ... other configuration
  .build();

Error Logs

Paste any error messages, stack traces, or relevant logs here

Code Sample

// Minimal code example that reproduces the issue
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('failing test', async ({ page, metamask }) => {
  // Steps that cause the bug
});

Screenshots

If applicable, add screenshots to help explain your problem.

Additional Context

Add any other context about the problem here.

Possible Solution

If you have suggestions on how to fix the bug, please describe them here.

Checklist

  • I have searched for existing issues that describe this bug
  • I have included all the required environment information
  • I have provided a minimal code example that reproduces the issue
  • I have included relevant error messages and logs</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #324


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.<issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@joe10832 <issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot <issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>@copilot

@joe10832 joe10832 marked this pull request as ready for review October 19, 2025 20:49
Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot <issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>@copilot

@joe10832 joe10832 merged commit 2dee82d into main Oct 19, 2025
1 check passed
Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

<issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot <issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot <issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions><issue_title>COMPATIBILITY.md/.github/FUNDING.yml @copilot</issue_title>
<issue_description>COMPATIBILITY.md/.github/FUNDING.yml @copilot

Originally posted by @joe10832 in #222 (review)
</issue_description>

<agent_instructions>docker/- copilot-issues#57</agent_instructions>@copilot

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

<issue_title>COMPATIBILITY.md/.github/FUNDING.yml @copilot</issue_title>
<issue_description>COMPATIBILITY.md/.github/FUNDING.yml @copilot

Originally posted by @joe10832 in #222 (review)
</issue_description>

<agent_instructions>docker/copilot-issues#57</agent_instructions><issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>

Copy link
Member

@joe10832 joe10832 left a comment

Choose a reason for hiding this comment

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

@copilot <issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions><issue_title>[BUG] Coinbase Notification Type Detection, Spend Permission Grant, and Passkey Sign-In Failure</issue_title>
<issue_description>## Bug Description
Coinbase Notification Type Detection Logic, Spend Permission Grant, and Hardcoded Passkey Credential sign-in are not functioning as expected in Onchain Test Kit (OTK-30).

Steps to Reproduce
Prepare Onchain Test Kit and configure for Coinbase Wallet usage
Initiate a workflow that triggers notification type detection
Attempt to grant spend permission using hardcoded passkey
Try to sign in with hardcoded passkey credential
Expected Behavior
Notification type should be detected correctly, spend permission should be granted, and sign in with hardcoded passkey should succeed without errors.

Actual Behavior
Notification type is not detected; spend permission cannot be granted; sign in with hardcoded passkey credential fails. Observed error during workflow execution.

Environment Information
Onchain Test Kit Version: [please supply]
Node.js Version: [please supply]
Operating System: [please supply]
Browser: [please supply]
Wallet: Coinbase Wallet
Configuration Used
// Paste your configuration code here
// Example:
const config = configure()
.withCoinbaseWallet()
// ... other configuration for notification type and passkey
.build();
Error Logs
Error encountered during notification detection and passkey sign-in (see linked PR review).
Originally posted by @joe10832 in #197 (review)
Code Sample
import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});
Screenshots
N/A

Additional Context
Issue discovered while implementing OTK-30. Test failure relates to Coinbase-specific logic for notification, spend permission, and passkey credential sign-in.

Possible Solution
Review and correct the Coinbase notification detection logic, permission grant flow, and passkey credential handling in OTK.

Checklist
I have searched for existing issues that describe this bug
I have included all the required environment information
I have provided a minimal code example that reproduces the issue
I have included relevant error messages and logs
</issue_description>
<agent_instructions>import { createOnchainTest, configure } from '@coinbase/onchaintestkit';

const test = createOnchainTest(/* your config */);

test('coinbase notification test', async ({ page, coinbase }) => {
// Steps that cause the bug
});</agent_instructions>@copilot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants