-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert changes extracted into separate PRs
- Loading branch information
1 parent
06e12ee
commit 6c85a19
Showing
27 changed files
with
82 additions
and
1,534 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,13 @@ | ||
import { browser } from "@wdio/globals"; | ||
import { FirebaseSidebar } from "../../utils/page_objects/sidebar"; | ||
import { getCommandsSpyCalls, spyCommands } from "../mock"; | ||
|
||
// it("Supports opening empty projects", async function () { | ||
// const workbench = await browser.getWorkbench(); | ||
// const sidebar = new FirebaseSidebar(workbench); | ||
|
||
// await sidebar.open(); | ||
|
||
// await sidebar.runInFirebaseViewContext(async (firebase) => { | ||
// await firebase.connectProjectLinkElement.waitForDisplayed(); | ||
// }); | ||
// }); | ||
|
||
it("Supports `open folder` button", async () => { | ||
it("Supports opening empty projects", async function () { | ||
const workbench = await browser.getWorkbench(); | ||
const sidebar = new FirebaseSidebar(workbench); | ||
|
||
await sidebar.open(); | ||
|
||
await spyCommands(); | ||
|
||
await sidebar.runInFirebaseViewContext(async (firebase) => { | ||
await firebase.openFolderElement.waitForDisplayed(); | ||
await firebase.openFolderElement.click(); | ||
|
||
const calls = await getCommandsSpyCalls(); | ||
|
||
console.log('calls', calls); | ||
|
||
expect(calls).toEqual([["workbench.action.files.openFolder"]]); | ||
await firebase.connectProjectLinkElement.waitForDisplayed(); | ||
}); | ||
}); |
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
Binary file not shown.
8 changes: 2 additions & 6 deletions
8
firebase-vscode/src/test/test_projects/fishfood/dataconnect/connectors/a/connector.yaml
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 |
---|---|---|
@@ -1,8 +1,4 @@ | ||
connectorId: a | ||
authMode: PUBLIC | ||
connectorId: "a" | ||
authMode: "PUBLIC" | ||
generate?: | ||
outputDir: ../../a_connector_js_sdk | ||
generate: | ||
javascriptSdk: | ||
outputDir: ../../../generated/javascript/a | ||
package: "@firebasegen/a" |
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
80 changes: 0 additions & 80 deletions
80
firebase-vscode/src/test/test_projects/fishfood/generated/javascript/a/esm/index.esm.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
firebase-vscode/src/test/test_projects/fishfood/generated/javascript/a/esm/package.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.