Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ exports[`CreateDiscussion renders Default without crashing 1`] = `
>
<div
class="rcx-box rcx-box--full rcx-css-w398ts"
role="listbox"
>
<input
aria-expanded="false"
aria-haspopup="listbox"
class="rcx-box rcx-box--full rcx-box--animated rcx-input-box--undecorated rcx-input-box rcx-css-trljwa rcx-css-pqpp8q"
placeholder="Add_people"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const CreateDirectMessage = ({ onClose }: CreateDirectMessageProps) => {
aria-describedby={`${membersFieldId}-hint ${membersFieldId}-error`}
aria-required='true'
aria-invalid={Boolean(errors.users)}
aria-label={t('Direct_message_creation_description')}
/>
)}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ exports[`RoomFormAttributeField renders Default without crashing 1`] = `
>
<div
class="rcx-box rcx-box--full rcx-css-w398ts"
role="listbox"
>
<button
aria-expanded="false"
aria-haspopup="listbox"
class="rcx-box rcx-box--full rcx-input-box--undecorated rcx-select__focus rcx-css-trljwa rcx-css-3fq6z9"
type="button"
Expand Down
6 changes: 3 additions & 3 deletions apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
"@rocket.chat/favicon": "workspace:^",
"@rocket.chat/federation-matrix": "workspace:^",
"@rocket.chat/federation-sdk": "0.5.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-forms": "^1.0.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-forms": "^1.1.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
Comment thread
dougfabris marked this conversation as resolved.
"@rocket.chat/fuselage-toastbar": "^0.35.2",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/fuselage-ui-kit": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions apps/meteor/tests/e2e/administration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test.describe.parallel('administration', () => {
await poAdminUsers.editUser.inputSetManually.click();
await poAdminUsers.editUser.inputPassword.fill('P@ssw0rd1234.!');
await poAdminUsers.editUser.inputConfirmPassword.fill('P@ssw0rd1234.!');
await expect(poAdminUsers.editUser.userRole).toBeVisible();
await expect(poAdminUsers.editUser.chipUserRole).toBeVisible();
await poAdminUsers.editUser.btnAddUser.click();
});

Expand All @@ -97,7 +97,7 @@ test.describe.parallel('administration', () => {
await poAdminUsers.editUser.inputSetManually.click();
await poAdminUsers.editUser.inputPassword.fill('P@ssw0rd1234.!');
await poAdminUsers.editUser.inputConfirmPassword.fill('P@ssw0rd1234.!');
await expect(poAdminUsers.editUser.userRole).toBeVisible();
await expect(poAdminUsers.editUser.chipUserRole).toBeVisible();
await expect(poAdminUsers.editUser.joinDefaultChannels).toBeVisible();
await poAdminUsers.editUser.btnAddUser.click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export class EditUserFlexTab extends FlexTab {
return this.root.locator('//label[text()="Join default channels"]');
}

get userRole(): Locator {
return this.root.locator('button[role="option"]:has-text("user")');
get chipUserRole(): Locator {
return this.root.getByRole('button', { name: 'user', exact: true });
}

get setupSmtpLink(): Locator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,15 @@ export class CreateNewDMModal extends CreateNewModal {
super(page.getByRole('dialog', { name: 'New direct message' }), page);
}

get dmListbox(): Locator {
return this.root.getByRole('listbox');
}

get autocompleteUser(): Locator {
return this.root.getByRole('listbox').getByRole('textbox');
return this.root.getByLabel('Select one or more people to message', { exact: true }).getByRole('textbox');
Comment thread
dougfabris marked this conversation as resolved.
}

async inviteUserToDM(username: string) {
await this.autocompleteUser.click();
await this.autocompleteUser.fill(username);
await this.dmListbox.selectOption(username);
await this.listbox.selectOption(username);
await this.page?.keyboard.press('Tab');
Comment thread
dougfabris marked this conversation as resolved.
}
}

Expand Down
6 changes: 1 addition & 5 deletions apps/meteor/tests/e2e/page-objects/fragments/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,7 @@ export class Navbar {

async createNewDM(username: string): Promise<void> {
await this.openCreate('Direct message');
await this.modals['Direct message'].dmListbox.click();
await this.modals['Direct message'].dmListbox.pressSequentially(username);
await this.root.waitForTimeout(600);
await this.root.keyboard.press('Enter');

await this.modals['Direct message'].inviteUserToDM(username);
await this.modals['Direct message'].btnCreate.click();
}

Expand Down
4 changes: 2 additions & 2 deletions apps/uikit-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@lezer/highlight": "^1.2.3",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
Comment thread
dougfabris marked this conversation as resolved.
"@rocket.chat/fuselage-toastbar": "^0.35.2",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/fuselage-ui-kit": "workspace:~",
Expand Down
4 changes: 2 additions & 2 deletions packages/fuselage-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@rocket.chat/apps-engine": "workspace:^",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "~0.47.0",
"@rocket.chat/jest-presets": "workspace:~",
Expand Down
4 changes: 2 additions & 2 deletions packages/gazzodown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "~0.47.0",
"@rocket.chat/jest-presets": "workspace:~",
Expand Down
2 changes: 1 addition & 1 deletion packages/livechat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@babel/preset-typescript": "~7.27.1",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/ddp-client": "workspace:^",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
Comment thread
dougfabris marked this conversation as resolved.
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/logo": "^0.32.4",
"@rocket.chat/ui-contexts": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/storybook-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@storybook/addon-a11y": "^8.6.17",
"@storybook/addon-essentials": "^8.6.17",
Expand All @@ -36,7 +36,7 @@
"webpack": "~5.99.9"
},
"devDependencies": {
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/icons": "~0.47.0",
"@rocket.chat/tsconfig": "workspace:*",
"@storybook/react": "^8.6.17",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"devDependencies": {
"@rocket.chat/core-typings": "workspace:~",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "~0.47.0",
"@rocket.chat/ui-contexts": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"@rocket.chat/core-typings": "workspace:~",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "~0.47.0",
"@rocket.chat/jest-presets": "workspace:~",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-composer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"devDependencies": {
"@react-aria/toolbar": "^3.0.0-nightly.5042",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "~0.47.0",
"@rocket.chat/jest-presets": "workspace:~",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-contexts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/ddp-client": "workspace:~",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/i18n": "workspace:~",
"@rocket.chat/icons": "~0.47.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-video-conf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"devDependencies": {
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/icons": "~0.47.0",
"@rocket.chat/jest-presets": "workspace:~",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-voip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@react-spectrum/test-utils": "~1.0.0-alpha.8",
"@rocket.chat/core-typings": "workspace:^",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/fuselage-ui-kit": "workspace:^",
"@rocket.chat/icons": "~0.47.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/web-ui-registration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"@rocket.chat/core-typings": "workspace:~",
"@rocket.chat/css-in-js": "~0.31.25",
"@rocket.chat/emitter": "^0.32.0",
"@rocket.chat/fuselage": "^0.73.0",
"@rocket.chat/fuselage-hooks": "^0.40.0",
"@rocket.chat/fuselage": "^0.74.0",
"@rocket.chat/fuselage-hooks": "^0.41.0",
"@rocket.chat/fuselage-tokens": "~0.33.2",
"@rocket.chat/i18n": "workspace:~",
"@rocket.chat/icons": "~0.47.0",
Expand Down
Loading
Loading