Skip to content

Commit

Permalink
skip test if spec version less than 3300
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekkMA committed Oct 1, 2024
1 parent 4c20e1e commit 252c0ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/suites/smoke/test-state-v1-migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ describeSuite({
id: "C100",
title: "Migration status should not be in an error state",
test: async function (context) {
if (paraApi.consts.system.version.specVersion.toNumber() < 3300) {
context.skip();
}
const stateMigrationStatus =
await paraApi.query.moonbeamLazyMigrations.stateMigrationStatusValue();
const isError = stateMigrationStatus.toString().toLowerCase().includes("error");
Expand Down

0 comments on commit 252c0ee

Please sign in to comment.