Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: improve some e2e selectors #27936

Merged
merged 9 commits into from Feb 3, 2023
Merged

Chore: improve some e2e selectors #27936

merged 9 commits into from Feb 3, 2023

Conversation

ggazzo
Copy link
Member

@ggazzo ggazzo commented Feb 2, 2023

the combination of tests with random inputs +. non-recommended selectors + small keys = high chance of small unfortunate coincidences

https://playwright.dev/docs/other-locators#css-locator

image

https://playwright.dev/docs/other-locators#legacy-text-locator

image

image
image
image

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

@ggazzo ggazzo requested a review from a team as a code owner February 2, 2023 15:22
@codecov
Copy link

codecov bot commented Feb 2, 2023

Codecov Report

Merging #27936 (54ff34e) into develop (91600e1) will increase coverage by 1.13%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #27936      +/-   ##
===========================================
+ Coverage    41.88%   43.01%   +1.13%     
===========================================
  Files          841      814      -27     
  Lines        17624    17107     -517     
  Branches      2071     1996      -75     
===========================================
- Hits          7381     7358      -23     
+ Misses        9965     9470     -495     
- Partials       278      279       +1     
Flag Coverage Δ
e2e 43.01% <ø> (+1.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ggazzo ggazzo merged commit 81cee2e into develop Feb 3, 2023
@ggazzo ggazzo deleted the chore/e2e-tests-selectors branch February 3, 2023 18:56
gabriellsh added a commit that referenced this pull request Feb 6, 2023
….Chat into matrixSearch

* 'feat/federation-feat-2' of github.com:RocketChat/Rocket.Chat: (31 commits)
  fix: removing file wrongly merged on update merge
  [NEW] Federation search public rooms in the Matrix network (#27434)
  Chore: Refactor other kinds of message - Phase 2 (#27927)
  Chore: improve some e2e selectors (#27936)
  [NEW] Warning Popup reinforcing Zapier deprecation on Integrations Admin settings (#27744)
  Chore: Notify Marketplace on App Install (#27925)
  i18n: Language update from LingoHub 🤖 on 2023-01-23Z (#27814)
  [FIX][ENTERPRISE] DDP streamer sending data to destroyed streams (#27929)
  Chore: Migrate cached collections to TypeScript (#27909)
  i18n: Language update from LingoHub 🤖 on 2023-01-09Z (#27705)
  [FIX] Reduce re-subscription on `notify-room/user-activity` stream event (#27911)
  [FIX] Unread Message count not displayed for new messages in Omni-Rooms (#27539)
  Chore: Improve service's licence check (#27872)
  [IMPROVE] Livechat Persian translation (#27825)
  Chore(deps): Bump thehanimo/pr-title-checker from 1.3.4 to 1.3.6 (#27884)
  Chore: use useQuery in place of deprecated useEndpointData (#27673)
  Chore: Update Some Composer Icons (#27862)
  Regression: Undefined default message context (#27870)
  Chore: Remove OS version for device management (#27786)
  [BREAK] Remove less theming (#27647)
  ...
@sampaiodiego sampaiodiego mentioned this pull request Feb 17, 2023
@sampaiodiego sampaiodiego mentioned this pull request Mar 9, 2023
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants