Skip to content

add test for comment width#15306

Merged
JaumePujantell merged 1 commit intomainfrom
private/jaume/comment-width-test
Apr 8, 2026
Merged

add test for comment width#15306
JaumePujantell merged 1 commit intomainfrom
private/jaume/comment-width-test

Conversation

@JaumePujantell
Copy link
Copy Markdown

This is a test for commit 5ff7f51
(browser: do not let comments get too slim).

Signed-off-by: Jaume Pujantell jaume.pujantell@collabora.com
Change-Id: I5ff0e58230d2753ee6ec191d5c10e160c5adc72d

@github-actions
Copy link
Copy Markdown

Thanks for opening this pull request!

Things that will help get your PR across the finish line:

@JaumePujantell JaumePujantell force-pushed the private/jaume/comment-width-test branch from 370b5f5 to 72654ec Compare March 31, 2026 15:45
@JaumePujantell JaumePujantell force-pushed the private/jaume/comment-width-test branch from 72654ec to 3613dc6 Compare March 31, 2026 15:50
@caolanm caolanm force-pushed the private/jaume/comment-width-test branch from 3613dc6 to 1d8eae2 Compare April 1, 2026 20:37
@JaumePujantell JaumePujantell requested a review from vmiklos April 2, 2026 09:35
Copy link
Copy Markdown
Contributor

@vmiklos vmiklos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK, please rebase & resolve conflicts. Thanks.

// Add several nested replies to create a deep thread
var replyCount = 5;
for (var i = 1; i <= replyCount; i++) {
cy.cGet('#comment-annotation-menu-' + i).click({ force: true });
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: if this menu button is not visible because the screen is too small, then it would be better to use cy.viewport() instead of this force-click, which is always a bit of a code smell.

cy.cGet('#annotation-content-area-1').should('contain', 'some text');

// Add several nested replies to create a deep thread
var replyCount = 5;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: prefer let/const instead of 'var'.

@github-project-automation github-project-automation bot moved this from To Review to To Test in Collabora Online Apr 2, 2026
@JaumePujantell JaumePujantell force-pushed the private/jaume/comment-width-test branch from 1d8eae2 to 3a425d4 Compare April 2, 2026 15:14
This is a test for commit 5ff7f51
(browser: do not let comments get too slim).

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I5ff0e58230d2753ee6ec191d5c10e160c5adc72d
@JaumePujantell JaumePujantell force-pushed the private/jaume/comment-width-test branch from 3a425d4 to 81dc90b Compare April 7, 2026 08:40
@JaumePujantell JaumePujantell merged commit 277a254 into main Apr 8, 2026
16 of 17 checks passed
@JaumePujantell JaumePujantell deleted the private/jaume/comment-width-test branch April 8, 2026 11:56
@github-project-automation github-project-automation bot moved this from To Test to Done in Collabora Online Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants