Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 5 additions & 5 deletions e2e/specs/stateful/dnsclaim.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ test.describe('Import DNSSEC name', () => {
await expect(page.getByTestId('import-next-button')).toBeDisabled()
})

// TODO: this is failing because stateful tests are still on goerli, we should switch to sepolia/holesky
test.skip('should not allow the user to proceed if they have not set the correct TXT record - offchain', async ({
test('should not allow the user to proceed if they have not set the correct TXT record - offchain', async ({
page,
login,
}) => {
Expand All @@ -43,10 +42,10 @@ test.describe('Import DNSSEC name', () => {
await page.getByTestId('import-next-button').click()
await expect(page.getByTestId('import-heading')).toContainText('Verify Ownership')
await expect(page.getByTestId('status-checker-message')).toContainText('No record found')
await expect(page.getByTestId('import-next-button')).toBeDisabled()
await expect(page.getByTestId('offchain-claim')).toBeDisabled()
})

test('should not allow the use to proceed if they have not set the correct subdomain with the correct info', async ({
test('should not allow the user to proceed if they have not set the correct subdomain with the correct info', async ({
page,
login,
}) => {
Expand All @@ -60,7 +59,8 @@ test.describe('Import DNSSEC name', () => {
await expect(page.getByTestId('import-next-button')).toBeDisabled()
})

test('should resolve .pw domains', async ({ page, login }) => {
test.skip('should resolve .pw domains', async ({ page, login }) => {
// pw domain does not resolve on localhost
await page.goto('/test.pw?chain=holesky')
await login.connect()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export const VerifyOffchainOwnership = ({
</DnsImportActionButton>
{isConnected ? (
<DnsImportActionButton
data-testid="offchain-claim"
disabled={!dnsOffchainStatus || isLoading || isRefetching || isError || !!error}
onClick={() => {
sendEvent('import:offchain_verify', { name: selected.name })
Expand Down