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

test: Prevent playwright from unselecting options by mistake #32158

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

aleksandernsilva
Copy link
Contributor

… mistake

Proposed changes (including videos or screenshots)

This pull request fixes a failing test where Playwright unintentionally unselected options during test execution. The solution involves explicitly clicking on the element's edge (rather than the default center) to open the list without accidentally clicking a chip.

Before:
Screen Shot 2024-04-09 at 11 12 43

After:
Screen Shot 2024-04-09 at 11 13 51

Issue(s)

Steps to test or reproduce

Further comments

Copy link
Contributor

dionisio-bot bot commented Apr 9, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Apr 9, 2024

⚠️ No Changeset found

Latest commit: 0ca484d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@aleksandernsilva aleksandernsilva changed the title test: Adjusted test to prevent playwright from unselecting options by… test: Prevent playwright from unselecting options by mistake Apr 9, 2024
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.88%. Comparing base (0a70db5) to head (0ca484d).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #32158      +/-   ##
===========================================
+ Coverage    53.48%   54.88%   +1.39%     
===========================================
  Files         2289     2307      +18     
  Lines        50373    50943     +570     
  Branches     10305    10423     +118     
===========================================
+ Hits         26943    27958    +1015     
+ Misses       20999    20478     -521     
- Partials      2431     2507      +76     
Flag Coverage Δ
e2e 53.87% <ø> (+2.63%) ⬆️
unit 75.43% <ø> (ø)

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

@aleksandernsilva aleksandernsilva marked this pull request as ready for review April 9, 2024 15:45
@aleksandernsilva aleksandernsilva requested a review from a team as a code owner April 9, 2024 15:45
@ggazzo ggazzo added the stat: QA assured Means it has been tested and approved by a company insider label Apr 9, 2024
@ggazzo ggazzo added this to the 6.8 milestone Apr 9, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Apr 9, 2024
@kodiakhq kodiakhq bot merged commit 87ad98f into develop Apr 9, 2024
46 checks passed
@kodiakhq kodiakhq bot deleted the test/livechat-appearance branch April 9, 2024 16:01
gabriellsh added a commit that referenced this pull request Apr 9, 2024
 Via GitHub (2) and Guilherme Gazzo (1)
* develop: (40 commits)
  chore: Fix some check/lint warnings (#32048)
  Revert "fix!: api login should not suggest which credential is wrong" (#32156)
  test: Prevent playwright from unselecting options by mistake (#32158)
  chore(meteor/packages): apply code style (#32145)
  fix: New messages export overwrites previous one from the same day when using Amazon S3 (#32062)
  Release 6.7.0
  chore: bump to 6.8.0 (#32153)
  chore: remove unused onStartup function (#32149)
  Release 6.7.0-rc.4
  chore: remove collections when db watcher is disabled (#32150)
  chore: Bump Apps-Engine version (#32144)
  regression(fuselage-ui-kit): Use default translation namespace for `-core` apps (#32105)
  regression(fuselage-ui-kit): Use default translation namespace for `-core` apps (#32105)
  chore: move imported `Apps` to proxy (#32142)
  feat: allowing forward to offline dep (#31976)
  ci: fix services container not building in build step (#32075)
  feat: `Contextualbar` resizable (#29461)
  fix: Missing space between name and user name on system messages (#32136)
  fix: livechat room desync on different windows (#32135)
  fix: livechat room desync on different windows (#32135)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
squad: omnichannel stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants