f4fc2ebecf
* chore(release): bump version to 4.5.1 * chore: bump helm chart * chore: update CHANGELOG * Revert "chore: bump helm chart" This reverts commit703b03b665
. * chore: bump helm chart to 3.0.0 * revert: remove bad change to manifes.json icon * fix(ci): add package.json.version to code cachekey Before this, creating a release sometimes prevented vscode from rebuilding and using the cache instead. Now we use the package.json.version in the cache key to "bust" the cache if the package.json version is updated (aka a release). Fixes #5316 * Update .github/workflows/ci.yaml Co-authored-by: Asher <ash@coder.com> * fixup: formatting * Revert "refactor: remove version check e2e test" This reverts commitb23c398b7d
. Co-authored-by: Asher <ash@coder.com>
18 lines
629 B
TypeScript
18 lines
629 B
TypeScript
import { version } from "../../src/node/constants"
|
|
import { describe, test, expect } from "./baseFixture"
|
|
|
|
describe("Open Help > About", true, [], {}, () => {
|
|
test("should see code-server version in about dialog", async ({ codeServerPage }) => {
|
|
// Open using the menu.
|
|
await codeServerPage.navigateMenus(["Help", "About"])
|
|
|
|
const isDevMode = process.env.VSCODE_DEV === "1"
|
|
|
|
// Look for code-server info div.
|
|
const element = await codeServerPage.page.waitForSelector(
|
|
`div[role="dialog"] >> text=code-server: ${isDevMode ? "Unknown" : "v" + version}`,
|
|
)
|
|
expect(element).not.toBeNull()
|
|
})
|
|
})
|