Skip to content

Commit 3a8af89

Browse files
committed
ugh
1 parent 60bea2c commit 3a8af89

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ jobs:
472472
- run: pnpm playwright:install
473473
working-directory: site
474474

475-
- run: pnpm playwright:test --workers 1
475+
- run: pnpm playwright:test --forbid-only --workers 1
476476
env:
477477
DEBUG: pw:api
478478
CODER_E2E_ENTERPRISE_LICENSE: ${{ secrets.CODER_E2E_ENTERPRISE_LICENSE }}

scripts/remote_playwright.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
workspace=${1:-}
55
coder_repo=${2:-.}
6-
port=${3:-3000}
6+
port=${3:-3111}
77

88
if [[ -z "${workspace}" ]]; then
99
echo "Usage: $0 <workspace> [workspace coder/coder dir] [e2e port]"

site/e2e/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ export const gitAuth = {
3434
};
3535

3636
export const enterpriseLicense = process.env.CODER_E2E_ENTERPRISE_LICENSE ?? "";
37-
export const skipEnterpriseTests = Boolean(enterpriseLicense);
37+
export const skipEnterpriseTests = !enterpriseLicense;

site/e2e/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default defineConfig({
2929
{
3030
name: "enterpriseSetup",
3131
testMatch: /enterprise.setup\.ts/,
32-
dependencies: ["tests"],
32+
dependencies: ["testsSetup"],
3333
use: {
3434
storageState: storageState,
3535
},

site/e2e/tests/updateTemplate.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test } from "@playwright/test";
22
import { createTemplate, updateTemplateSettings } from "../helpers";
33

4-
test.only("template update with new name redirects on successful submit", async ({
4+
test("template update with new name redirects on successful submit", async ({
55
page,
66
}) => {
77
const templateName = await createTemplate(page);

site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
},
9696
"devDependencies": {
9797
"@octokit/types": "12.3.0",
98-
"@playwright/test": "1.39.0",
98+
"@playwright/test": "1.42.1",
9999
"@storybook/addon-actions": "7.6.11",
100100
"@storybook/addon-essentials": "7.6.11",
101101
"@storybook/addon-interactions": "7.6.11",

site/pnpm-lock.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)