Path: blob/main/src/vs/sessions/test/e2e/scenarios/generated/05-full-workflow.commands.json
13405 views
{1"scenario": "Scenario: Full workflow",2"generatedAt": "2026-03-12T22:48:50.725Z",3"steps": [4{5"description": "Type \"build the project\" in the chat input",6"commands": [7"click textbox \"Chat input\"",8"type \"build the project\""9]10},11{12"description": "Press Enter to submit",13"commands": [14"press Enter"15]16},17{18"description": "Verify there is a response in the chat",19"commands": [20"# ASSERT_VISIBLE: I'll help you build the project. Here are the changes:"21]22},23{24"description": "Verify the changes view shows \"CHANGES\" with a badge",25"commands": [26"# ASSERT_VISIBLE: Changes"27]28},29{30"description": "Verify \"package.json\" is visible in the changes list",31"commands": [32"# ASSERT_VISIBLE: package.json"33]34},35{36"description": "Verify \"build.ts\" is visible in the changes list",37"commands": [38"# ASSERT_VISIBLE: build.ts"39]40},41{42"description": "Verify \"index.ts\" is visible in the changes list",43"commands": [44"# ASSERT_VISIBLE: index.ts"45]46},47{48"description": "Click on \"index.ts\" in the changes list",49"commands": [50"click treeitem \"index.ts\""51]52},53{54"description": "Verify a diff editor opens with modified content",55"commands": [56"# ASSERT_VISIBLE: index.ts"57]58},59{60"description": "Press Escape to close the diff editor",61"commands": [62"press Escape"63]64},65{66"description": "Verify \"Merge\" button is visible in changes view header",67"commands": [68"# ASSERT_VISIBLE: Merge"69]70},71{72"description": "Verify the \"Open Terminal\" button is visible",73"commands": [74"# ASSERT_VISIBLE: Open Terminal"75]76},77{78"description": "Click the \"Open Terminal\" button",79"commands": [80"click button \"Open Terminal\""81]82},83{84"description": "Verify the terminal panel becomes visible",85"commands": [86"# ASSERT_VISIBLE: Terminal"87]88},89{90"description": "Verify the terminal tab shows \"session-1\" in its label",91"commands": [92"# ASSERT_VISIBLE: bash - session-1"93]94},95{96"description": "Click \"New Session\" to create a new session",97"commands": [98"click button \"New Session\""99]100},101{102"description": "Type \"fix the bug\" in the chat input",103"commands": [104"click textbox \"Chat input\"",105"type \"fix the bug\""106]107},108{109"description": "Press Enter to submit",110"commands": [111"press Enter"112]113},114{115"description": "Verify the terminal tab label changes to show \"session-2\"",116"commands": [117"# ASSERT_VISIBLE: bash - session-2"118]119},120{121"description": "Click back on the first session in the sessions list",122"commands": [123"click listitem \"build the project\""124]125},126{127"description": "Verify the terminal tab label changes back to show \"session-1\"",128"commands": [129"# ASSERT_VISIBLE: bash - session-1"130]131}132]133}134135136