Skip to content

Commit 9d31d70

Browse files
committed
fix a few more
1 parent d050fe1 commit 9d31d70

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

site/e2e/tests/deployment/licenses.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ test("license was added successfully", async ({ page }) => {
1414
const accountType = firstLicense.locator(".account-type");
1515
await expect(accountType).toHaveText("Enterprise");
1616

17-
// User limit 1/1
18-
const userLimit = firstLicense.locator(".user-limit");
19-
await expect(userLimit).toHaveText("1 / 1");
20-
2117
// License should not be expired yet
2218
const licenseExpires = firstLicense.locator(".license-expires");
2319
const licenseExpiresDate = new Date(await licenseExpires.innerText());

site/e2e/tests/updateTemplate.spec.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { expectUrl } from "../expectUrl";
33
import {
44
createGroup,
55
createTemplate,
6+
failsWithLicense,
67
requiresLicense,
78
updateTemplateSettings,
89
} from "../helpers";
@@ -13,6 +14,8 @@ test.beforeEach(({ page }) => beforeCoderTest(page));
1314
test("template update with new name redirects on successful submit", async ({
1415
page,
1516
}) => {
17+
failsWithLicense();
18+
1619
const templateName = await createTemplate(page);
1720

1821
await updateTemplateSettings(page, templateName, {
@@ -23,10 +26,10 @@ test("template update with new name redirects on successful submit", async ({
2326
test("add and remove a group", async ({ page }) => {
2427
requiresLicense();
2528

26-
const templateName = await createTemplate(page);
29+
const templateName = await createTemplate(page, undefined, "coder");
2730
const groupName = await createGroup(page);
2831

29-
await page.goto(`/templates/${templateName}/settings/permissions`, {
32+
await page.goto(`/templates/coder/${templateName}/settings/permissions`, {
3033
waitUntil: "domcontentloaded",
3134
});
3235
await expectUrl(page).toHavePathName(

0 commit comments

Comments
 (0)