Details
-
New Feature
-
Status: Resolved
-
P3
-
Resolution: Done
-
None
Description
As a Beam Playground user, I want to be able to load an example, view, change, type Java code in the web-based code editor.
Acceptance criteria:
1. The code editor supports code entering
Scenario: Typing code in the code editor
Given: User has opened Beam Playground
When: User types code from the keyboard
Then: The code appears in the code editor
2. The Code editor support code highlighting based on the selected SDK
Given: User is typing code in the code editor.
When: User has typed keywords for the language
Then: Code editor highlights keywords
3. The code editor loads an initial example
Scenario: Initial example
Given: User has been navigated to Beam Playground
When: User open Beam Playground
And: Beam Playground loaded
Then: User sees an initial example in the code editor area
4. The code editor able to load mock examples
Scenario: Load Beam Playground example
Given: User has opened Beam Playground
When: User clicks to catalog button
And: User see the list of mocked examples
And: User select one of the examples
Then: Beam Playground load example’s code to the code editor area
Reference: