diff --git a/justfile b/justfile index b9c6a9e00f9..ee9e06c05db 100644 --- a/justfile +++ b/justfile @@ -48,6 +48,14 @@ babbage-integration-tests-cabal-no-wallet: TESTS_RETRY_FAILED=1 \ cabal test integration -O0 -v0 +babbage-integration-tests-cabal-no-wallet-match match: + echo "Running integration tests without cardano-wallet exe compiled" + LOCAL_CLUSTER_CONFIGS=../../lib/local-cluster/test/data/cluster-configs \ + CARDANO_WALLET_TEST_DATA=test/data \ + LOCAL_CLUSTER_ERA=babbage \ + TESTS_RETRY_FAILED=1 \ + cabal test integration -O0 -v0 --test-options '--match="{{match}}"' + # run wallet-e2e suite against the preprod network e2e-preprod: nix run '.#cardano-wallet-e2e' -- preprod \ diff --git a/lib/wallet/integration/src/Test/Integration/Scenario/API/Byron/Migrations.hs b/lib/wallet/integration/src/Test/Integration/Scenario/API/Byron/Migrations.hs index a36efa87dd0..e24f3a50f9e 100644 --- a/lib/wallet/integration/src/Test/Integration/Scenario/API/Byron/Migrations.hs +++ b/lib/wallet/integration/src/Test/Integration/Scenario/API/Byron/Migrations.hs @@ -105,8 +105,7 @@ import Test.Integration.Framework.DSL , (.>) ) import Test.Integration.Framework.TestData - ( errMsg400ParseError - , errMsg403NothingToMigrate + ( errMsg403NothingToMigrate , errMsg403WrongPass , errMsg404NoWallet ) @@ -541,7 +540,9 @@ spec = describe "BYRON_MIGRATIONS" $ do (NonJson "{passphrase:,}") verify response [ expectResponseCode HTTP.status400 - , expectErrorMessage errMsg400ParseError + , expectErrorMessage + "Unexpected 'passphrase:,}', \ + \expecting record key literal or }" ] it "BYRON_MIGRATE_08 - \ diff --git a/lib/wallet/integration/src/Test/Integration/Scenario/API/Shelley/Migrations.hs b/lib/wallet/integration/src/Test/Integration/Scenario/API/Shelley/Migrations.hs index 48af7c243b6..bf0b52f1632 100644 --- a/lib/wallet/integration/src/Test/Integration/Scenario/API/Shelley/Migrations.hs +++ b/lib/wallet/integration/src/Test/Integration/Scenario/API/Shelley/Migrations.hs @@ -124,8 +124,7 @@ import Test.Integration.Framework.DSL , (.>) ) import Test.Integration.Framework.TestData - ( errMsg400ParseError - , errMsg403NothingToMigrate + ( errMsg403NothingToMigrate , errMsg403WrongPass , errMsg404NoWallet ) @@ -847,7 +846,9 @@ spec = describe "SHELLEY_MIGRATIONS" $ do (NonJson "{passphrase:,}") verify response [ expectResponseCode HTTP.status400 - , expectErrorMessage errMsg400ParseError + , expectErrorMessage + "Unexpected 'passphrase:,}', \ + \expecting record key literal or }" ] Hspec.it "SHELLEY_MIGRATE_08 - \