From b7ee4f83f47fdd6619b0e4ed46659fdee3a5334c Mon Sep 17 00:00:00 2001 From: Nico Krause Date: Wed, 4 Dec 2024 17:22:54 +0500 Subject: [PATCH] real negative test --- .github/workflows/playwright.yml | 2 +- tests/playground.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3f882e2..ddf1367 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -5,7 +5,7 @@ on: pull_request: branches: [ main, master ] jobs: - test: + WalletGenerationTests: timeout-minutes: 60 runs-on: ubuntu-latest steps: diff --git a/tests/playground.spec.js b/tests/playground.spec.js index 0fb462b..464a1e4 100644 --- a/tests/playground.spec.js +++ b/tests/playground.spec.js @@ -117,7 +117,7 @@ test.describe('Wallet Generation Tests', () => { await page.getByRole('button', { name: 'Generate Mnemonic' }).click(); const mnemonic = await page.inputValue('#mnemonicTextarea'); await page.getByLabel('Mnemonic').click(); - expect(mnemonic).not.toBe('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); + expect(mnemonic).toBe('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); }); test('Basic Address Generation Test', async ({ page, browser }) => {