Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add test to check block start padding of a continued event tile on modern/group layout #9065

Closed
wants to merge 0 commits into from
Closed

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Jul 16, 2022

For #9033

This PR adds a test to check whether block start padding of a continued event tile on modern/group layout is set to zero without !important flag.

Signed-off-by: Suguru Hirahara luixxiul@users.noreply.github.com

type: task

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

@github-actions github-actions bot added Z-Community-PR Issue is solved by a community member's PR T-Task Refactoring, enabling or disabling functionality, other engineering tasks labels Jul 16, 2022
@luixxiul luixxiul marked this pull request as ready for review July 17, 2022 02:48
@luixxiul luixxiul requested a review from a team as a code owner July 17, 2022 02:48
@luixxiul luixxiul changed the title Add test to check inline block padding of a continued event tile on modern/group layout Add test to check block start padding of a continued event tile on modern/group layout Jul 17, 2022
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@andybalaam
Copy link
Contributor

Please could you resolve the conflicts and then ping me to merge?

Copy link
Contributor

@kerryarchibald kerryarchibald left a comment

Choose a reason for hiding this comment

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

Please assert the block padding is correct using a percy snapshot rather that css inspection.

cy.get(".mx_RoomView_body .mx_EventTile").contains(".mx_EventTile[data-scroll-tokens]", "Hello Again");

// Check block start padding of the second message
cy.get(".mx_EventTile[data-layout=group].mx_EventTile_continuation")
Copy link
Contributor

Choose a reason for hiding this comment

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

This check should be captured by a percy snapshot, not explicitly checking the style. These e2e tests should be testing from the POV of the user to see that 1) things work as expected and 2) look as expected.

@turt2live turt2live removed their request for review July 19, 2022 15:53
@luixxiul luixxiul closed this Mar 6, 2023
@luixxiul luixxiul deleted the EventTile_continuation branch March 6, 2023 19:54
@renovate renovate bot temporarily deployed to Netlify March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Netlify March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:22 Inactive
@renovate renovate bot temporarily deployed to Netlify March 6, 2023 21:23 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:25 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:25 Inactive
@renovate renovate bot temporarily deployed to Cypress March 6, 2023 21:25 Inactive
@renovate renovate bot temporarily deployed to Testrail March 6, 2023 21:38 Inactive
@renovate renovate bot temporarily deployed to Testrail March 6, 2023 21:39 Inactive
@renovate renovate bot temporarily deployed to Testrail March 6, 2023 21:39 Inactive
@renovate renovate bot temporarily deployed to Testrail March 6, 2023 21:40 Inactive
@luixxiul luixxiul temporarily deployed to Netlify March 7, 2023 05:40 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 05:40 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 05:40 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 05:40 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 05:40 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Testrail March 7, 2023 05:55 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Netlify March 7, 2023 06:14 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 06:14 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 06:14 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 06:14 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Netlify March 7, 2023 07:35 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 07:36 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 07:36 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 07:36 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Cypress March 7, 2023 07:36 — with GitHub Actions Inactive
@luixxiul luixxiul temporarily deployed to Testrail March 7, 2023 07:51 — with GitHub Actions Inactive
@t3chguy t3chguy temporarily deployed to Netlify March 7, 2023 09:51 — with GitHub Actions Inactive
@t3chguy t3chguy temporarily deployed to Cypress March 7, 2023 09:51 — with GitHub Actions Inactive
@t3chguy t3chguy temporarily deployed to Cypress March 7, 2023 09:51 — with GitHub Actions Inactive
@t3chguy t3chguy temporarily deployed to Cypress March 7, 2023 09:51 — with GitHub Actions Inactive
@t3chguy t3chguy temporarily deployed to Cypress March 7, 2023 09:51 — with GitHub Actions Inactive
@t3chguy t3chguy temporarily deployed to Testrail March 7, 2023 10:06 — with GitHub Actions Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants