From 7b14ab60ed547b374cb8473000c4a7571506dd81 Mon Sep 17 00:00:00 2001 From: Marko Arambasic Date: Mon, 27 Jan 2025 16:57:33 +0100 Subject: [PATCH] fix: add proper testId values and change feature file --- .../features/artifacts/artifactsSet1.feature | 22 +++++++++---------- packages/app/tests/e2e/testId.json | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature index 1cf76fdaf..5e2bc4354 100644 --- a/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature +++ b/packages/app/tests/e2e/features/artifacts/artifactsSet1.feature @@ -204,14 +204,14 @@ Feature: Main Page Then Element with "" "" should be "" Examples: - | Selector type | Element | Assertion | - | id | contractAddress | visible | - | id | contractName | visible | - | testId.optimizationRadioButtons | radio-buttons | visible | - | testId.enableEraVMExtensionsRadioButtons | radio-buttons | visible | - | id | compilerVersion | visible | - | id | zkCompilerVersion | visible | - | id | sourceCode | visible | - | id | constructorArguments | visible | - | text | Verify Smart Contract | clickable | - | text | Clear | clickable | + | Selector type | Element | Assertion | + | id | contractAddress | visible | + | id | contractName | visible | + | testId | radio-buttons-optimization | visible | + | testId | radio-buttons-enable-era-extensions | visible | + | id | compilerVersion | visible | + | id | zkCompilerVersion | visible | + | id | sourceCode | visible | + | id | constructorArguments | visible | + | text | Verify Smart Contract | clickable | + | text | Clear | clickable | diff --git a/packages/app/tests/e2e/testId.json b/packages/app/tests/e2e/testId.json index 182888402..eaa511ccd 100644 --- a/packages/app/tests/e2e/testId.json +++ b/packages/app/tests/e2e/testId.json @@ -10,8 +10,8 @@ "direction": "direction", "initiatorsAddress": "initiators-address", "fromAddress": "from-address", - "optimizationRadioButtons": "radio-buttons", - "enableEraVMExtensionsRadioButtons": "radio-buttons", + "optimizationRadioButtons": "radio-buttons-optimization", + "enableEraVMExtensionsRadioButtons": "radio-buttons-enable-era-extensions", "pageTitle": "page-title", "previousInstructionButton": "previous-instruction-navigation-button", "showInstructionMetadataButton": "show-instruction-metadata-button",