-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
259 additions
and
214 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,10 +66,6 @@ jobs: | |
working-directory: ts | ||
run: | | ||
pnpm install --frozen-lockfile --strict-peer-dependencies | ||
# - name: Install Playwright Browsers | ||
# if: ${{ runner.os == 'windows' && matrix.version == '22' }} | ||
# run: pnpm exec playwright install --with-deps | ||
# working-directory: ts/packages/shell | ||
- name: Build | ||
if: ${{ github.event_name != 'pull_request' || steps.filter.outputs.ts == 'true' }} | ||
working-directory: ts | ||
|
@@ -85,43 +81,3 @@ jobs: | |
working-directory: ts | ||
run: | | ||
npm run lint | ||
# - name: Login to Azure | ||
# if: ${{ github.event_name != 'merge_group' }} | ||
# uses: azure/[email protected] | ||
# with: | ||
# client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5B0D2D6BA40F4710B45721D2112356DD }} | ||
# tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_39BB903136F14B6EAD8F53A8AB78E3AA }} | ||
# subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_F36C1F2C4B2C49CA8DD5C52FAB98FA30 }} | ||
# - name: Get Keys | ||
# if: ${{ github.event_name != 'merge_group' }} | ||
# run: | | ||
# node tools/scripts/getKeys.mjs --vault build-pipeline-kv | ||
# working-directory: ts | ||
# - name: Test CLI - smoke | ||
# if: ${{ github.event_name != 'merge_group' }} | ||
# run: | | ||
# npm run start:dev 'prompt' 'why is the sky blue' | ||
# working-directory: ts/packages/cli | ||
# continue-on-error: true | ||
# - name: Shell Tests - smoke (windows) | ||
# if: ${{ github.event_name != 'merge_group' && runner.os == 'windows' && matrix.version == '22' }} | ||
# timeout-minutes: 60 | ||
# run: | | ||
# npx playwright test simple.spec.ts | ||
# rm ../../.env | ||
# - name: Shell Tests - smoke (linux) | ||
# if: ${{ github.event_name != 'merge_group' && runner.os == 'Linux' && matrix.version == '22' }} | ||
# timeout-minutes: 60 | ||
# run: | | ||
# Xvfb :99 -screen 0 1600x1200x24 & export DISPLAY=:99 | ||
# npx playwright test simple.spec.ts | ||
# rm ../../.env | ||
# working-directory: ts/packages/shell | ||
# continue-on-error: true | ||
# - name: Live Tests | ||
# if: ${{ github.event_name != 'merge_group' && runner.os == 'linux' && matrix.version == '22' }} | ||
# timeout-minutes: 60 | ||
# run: | | ||
# npm run test:live | ||
# working-directory: ts | ||
# continue-on-error: true |
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
121 changes: 0 additions & 121 deletions
121
.github/workflows/smoke-tests-pull_request_targets.yml.bak
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,64 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
import test, { | ||
ElectronApplication, | ||
Page, | ||
_electron, | ||
_electron as electron, | ||
expect, | ||
} from "@playwright/test"; | ||
import { | ||
exitApplication, | ||
getAppPath, | ||
sendUserRequestAndWaitForCompletion, | ||
getLaunchArgs, | ||
startShell, | ||
testUserRequest, | ||
} from "./testHelper"; | ||
|
||
// Annotate entire file as serial. | ||
test.describe.configure({ mode: "serial" }); | ||
|
||
test.describe("List Agent Tests", () => { | ||
test("create_update_clear_list", async ({}, testInfo) => { | ||
console.log(`Running test '${testInfo.title}`); | ||
|
||
await testUserRequest( | ||
[ | ||
"create a shopping list", | ||
"what's on the shopping list?", | ||
"add eggs, milk, flour to the shopping list", | ||
"what's on the shopping list?", | ||
"remove milk from the shopping list", | ||
"what's on the shopping list?", | ||
"clear the shopping list", | ||
"what's on the shopping list?", | ||
], | ||
[ | ||
"Created list: shopping", | ||
"List 'shopping' is empty", | ||
"Added items: eggs,milk,flour to list shopping", | ||
"eggs\nmilk\nflour", | ||
"Removed items: milk from list shopping", | ||
"eggs\nflour", | ||
"Cleared list: shopping", | ||
"List 'shopping' is empty", | ||
], | ||
); | ||
}); | ||
|
||
// test("delete_list", async ({}, testInfo) => { | ||
// console.log(`Running test '${testInfo.title}`); | ||
|
||
// await testUserRequest( | ||
// [ | ||
// "delete the shopping list", | ||
// "is there a shopping list?" | ||
// ], | ||
// [ | ||
// "Cleared list: shopping", | ||
// "List 'shopping' is empty" | ||
// ]); | ||
// }); | ||
}); |
Oops, something went wrong.