Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLT-5884 added compile contract and simulation of contract
- Loading branch information
Showing
12 changed files
with
147 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Feature: Compile a valid contract | ||
|
||
As a user I expect to be able to compile a valid contract and see the generated code | ||
Scenario: As a user I want to compile a valid contract and see the generated code | ||
|
||
Given I am on the "home" page | ||
|
||
When I click the "button" with "Open an example" text | ||
When I click the "button" with "Escrow Javascript" text | ||
Then I should be on the "javascript editor" page | ||
|
||
When I click the "button" with "Compile" text | ||
Then I should see a "button" with "Compiled" text | ||
# And I should see a "link" with "Generated code" text within the "javascript-editor-container" "heading" | ||
|
||
# When I click the "link" with "Generated code" text | ||
# Then I should see a "heading" with "Generated code content" text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Feature: Simulated a contract | ||
|
||
As a user I expect to be able to simulate a contract | ||
|
||
@wip | ||
Scenario: As a user I want to simulate a contract | ||
|
||
Given I am on the "home" page | ||
|
||
When I click the "button" with "Open an example" text | ||
When I click the "button" with "Escrow Javascript" text | ||
Then I should be on the "javascript editor" page | ||
|
||
When I click the "button" with "Compile" text | ||
Then I should see a "button" with "Compiled" text | ||
|
||
When I click the "button" with "Send To Simulator" text | ||
Then I should be on the "contract simulation" page | ||
And I should see a "heading" with "SIMULATION HAS NOT STARTED YET" text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters