Skip to content

Commit

Permalink
fix: add proper testId values and change feature file
Browse files Browse the repository at this point in the history
  • Loading branch information
kiriyaga-txfusion committed Jan 27, 2025
1 parent 48d91e3 commit 7b14ab6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions packages/app/tests/e2e/features/artifacts/artifactsSet1.feature
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ Feature: Main Page
Then Element with "<Selector type>" "<Element>" should be "<Assertion>"

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 |
4 changes: 2 additions & 2 deletions packages/app/tests/e2e/testId.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7b14ab6

Please sign in to comment.