Skip to content

Commit 6895b04

Browse files
committed
I think that might be it??
1 parent 6f04421 commit 6895b04

File tree

4 files changed

+3
-38
lines changed

4 files changed

+3
-38
lines changed

site/e2e/helpers.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@ export function requiresLicense() {
4747
test.skip(!license);
4848
}
4949

50-
/**
51-
* This function is used to mark a few e2e tests that seem to always fail when
52-
* running with a license. If we can ever get all of them fixed we should remove
53-
* this.
54-
*/
55-
export function failsWithLicense() {
56-
test.skip(Boolean(license));
57-
}
58-
5950
/**
6051
* requireTerraformProvisioner by default is enabled.
6152
*/

site/e2e/tests/groups/navigateToGroupPage.spec.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

site/e2e/tests/organizations.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ test.beforeEach(async ({ page }) => {
99
await setupApiCalls(page);
1010
});
1111

12-
test("create and delete organization", async ({ page, baseURL }) => {
12+
test("create and delete organization", async ({ page }) => {
1313
requiresLicense();
1414

1515
// Create an organization
16-
await page.goto(`${baseURL}/organizations/new`, {
16+
await page.goto("/organizations/new", {
1717
waitUntil: "domcontentloaded",
1818
});
1919

20-
await page.getByLabel("Name", { exact: true }).fill("floop");
20+
await page.getByLabel("Slug", { exact: true }).fill("floop");
2121
await page.getByLabel("Display name").fill("Floop");
2222
await page.getByLabel("Description").fill("Org description floop");
2323
await page.getByLabel("Icon", { exact: true }).fill("/emojis/1f957.png");

site/e2e/tests/updateTemplate.spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { expectUrl } from "../expectUrl";
44
import {
55
createGroup,
66
createTemplate,
7-
failsWithLicense,
87
requiresLicense,
98
updateTemplateSettings,
109
} from "../helpers";
@@ -15,8 +14,6 @@ test.beforeEach(({ page }) => beforeCoderTest(page));
1514
test("template update with new name redirects on successful submit", async ({
1615
page,
1716
}) => {
18-
failsWithLicense();
19-
2017
const templateName = await createTemplate(page);
2118
await updateTemplateSettings(page, templateName, {
2219
name: "new-name",

0 commit comments

Comments
 (0)