Skip to content

Commit

Permalink
Remove FTUE onboarding as it is incompatible with SSO/OIDC (#28943)
Browse files Browse the repository at this point in the history
* Remove FTUE onboarding as it is incompatible with SSO/OIDC

Signed-off-by: Michael Telatynski <[email protected]>

* Update tests

Signed-off-by: Michael Telatynski <[email protected]>

* Remove stale screenshots

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy authored Jan 14, 2025
1 parent 2559cba commit 60f70b9
Show file tree
Hide file tree
Showing 49 changed files with 16 additions and 2,711 deletions.
4 changes: 2 additions & 2 deletions playwright/e2e/register/email.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test.describe("Email Registration", async () => {
});

test(
"registers an account and lands on the use case selection screen",
"registers an account and lands on the home page",
{ tag: "@screenshot" },
async ({ page, mailhogClient, request, checkA11y }) => {
await expect(page.getByRole("textbox", { name: "Username" })).toBeVisible();
Expand All @@ -57,7 +57,7 @@ test.describe("Email Registration", async () => {
const [emailLink] = messages.items[0].text.match(/http.+/);
await request.get(emailLink); // "Click" the link in the email

await expect(page.locator(".mx_UseCaseSelection_skip")).toBeVisible();
await expect(page.getByText("Welcome alice")).toBeVisible();
},
);
});
6 changes: 0 additions & 6 deletions playwright/e2e/register/register.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ test.describe("Registration", () => {
await expect(termsPolicy.getByLabel("Privacy Policy")).toBeVisible();

await page.getByRole("button", { name: "Accept", exact: true }).click();

await expect(page.locator(".mx_UseCaseSelection_skip")).toBeVisible();
await expect(page).toMatchScreenshot("use-case-selection.png", screenshotOptions);
await checkA11y();
await page.getByRole("button", { name: "Skip", exact: true }).click();

await expect(page).toHaveURL(/\/#\/home$/);

/*
Expand Down
79 changes: 0 additions & 79 deletions playwright/e2e/user-onboarding/user-onboarding-new.spec.ts

This file was deleted.

28 changes: 0 additions & 28 deletions playwright/e2e/user-onboarding/user-onboarding-old.spec.ts

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 0 additions & 8 deletions res/css/_components.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
@import "./views/context_menus/_RoomNotificationContextMenu.pcss";
@import "./views/dialogs/_AddExistingToSpaceDialog.pcss";
@import "./views/dialogs/_AnalyticsLearnMoreDialog.pcss";
@import "./views/dialogs/_AppDownloadDialog.pcss";
@import "./views/dialogs/_BugReportDialog.pcss";
@import "./views/dialogs/_BulkRedactDialog.pcss";
@import "./views/dialogs/_ChangelogDialog.pcss";
Expand Down Expand Up @@ -217,8 +216,6 @@
@import "./views/elements/_TagComposer.pcss";
@import "./views/elements/_TextWithTooltip.pcss";
@import "./views/elements/_ToggleSwitch.pcss";
@import "./views/elements/_UseCaseSelection.pcss";
@import "./views/elements/_UseCaseSelectionButton.pcss";
@import "./views/elements/_Validation.pcss";
@import "./views/emojipicker/_EmojiPicker.pcss";
@import "./views/location/_LocationPicker.pcss";
Expand Down Expand Up @@ -379,11 +376,6 @@
@import "./views/toasts/_IncomingLegacyCallToast.pcss";
@import "./views/toasts/_NonUrgentEchoFailureToast.pcss";
@import "./views/typography/_Heading.pcss";
@import "./views/user-onboarding/_UserOnboardingButton.pcss";
@import "./views/user-onboarding/_UserOnboardingHeader.pcss";
@import "./views/user-onboarding/_UserOnboardingList.pcss";
@import "./views/user-onboarding/_UserOnboardingPage.pcss";
@import "./views/user-onboarding/_UserOnboardingTask.pcss";
@import "./views/verification/_VerificationShowSas.pcss";
@import "./views/voip/LegacyCallView/_LegacyCallViewButtons.pcss";
@import "./views/voip/_CallDuration.pcss";
Expand Down
77 changes: 0 additions & 77 deletions res/css/views/dialogs/_AppDownloadDialog.pcss

This file was deleted.

122 changes: 0 additions & 122 deletions res/css/views/elements/_UseCaseSelection.pcss

This file was deleted.

Loading

0 comments on commit 60f70b9

Please sign in to comment.