Skip to content

chore: lock playwright version [swc-829]#5414

Closed
castastrophe wants to merge 1 commit intomainfrom
castastrophe/swc-829-playwright-lock
Closed

chore: lock playwright version [swc-829]#5414
castastrophe wants to merge 1 commit intomainfrom
castastrophe/swc-829-playwright-lock

Conversation

@castastrophe
Copy link
Copy Markdown
Contributor

Description

Related issue(s)

Motivation and context

How has this been tested?

  • Test case 1

    1. Go here
    2. Do this
  • Test case 2

    1. Go here
    2. Do this
  • Did it pass in Desktop?

  • Did it pass in Mobile?

  • Did it pass in iPad?

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Checklist

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices

Best practices

This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against main.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 29, 2025

⚠️ No Changeset found

Latest commit: a5f2232

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

@github-actions
Copy link
Copy Markdown
Contributor

Branch preview

Review the following VRT differences

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch from 05d38b3 to d1f97c0 Compare April 29, 2025 15:52
@github-actions
Copy link
Copy Markdown
Contributor

Tachometer results

Currently, no packages are changed by this PR...

@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch 6 times, most recently from 16ac9a1 to f28b5e9 Compare April 29, 2025 17:06
import { sendKeys } from '@web/test-runner-commands';

describe('NumberField - inputs', () => {
before(async () => {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

CanIUse indicates that the international number field has been available in our supported evergreen - 2 so we can remove the polyfills now

private host: ReactiveElement;
language = document.documentElement.lang || navigator.language;
get language(): string {
return document.documentElement.lang || navigator.language;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is fetching the root-level language but shouldn't we also be honoring if the language attribute is set on a container too?

Copy link
Copy Markdown
Contributor

@caseyisonit caseyisonit May 12, 2025

Choose a reason for hiding this comment

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

this change is what is causing a majority of the number field failing tests, I would like to revert it since its out of scope for this specifically and capture this idea somehow for when we refactor number field.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Those tests were failing before as well - I added this change to resolve the first round of issues I saw. You can see the details outlined in the Jira ticket.

The first error I identified was on NumberField which threw an error that locale was invalid on every instance. I fixed this according to similar debugging advice I found online by converting any manually provided locales with underscores to dashes.

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.

thats odd, when i reverted it the tests passed. I'm going to do a fresh clone again to make sure it wasn't something weird on my local. thank you for this context and apologies I missed that from the ticket.

@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch 5 times, most recently from e41803d to cf33dd2 Compare May 12, 2025 13:29
@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch 8 times, most recently from 1d4606b to 95f97c1 Compare May 13, 2025 20:27
@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch from 95f97c1 to 74fbb10 Compare May 27, 2025 13:53
@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch from 74fbb10 to 71b894f Compare June 19, 2025 18:19
Comment thread .eslintrc.json
]
}
},
"extends": [
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.

🚫 [eslint] <no-dupe-keys> reported by reviewdog 🐶
Duplicate key 'extends'.

Comment thread .eslintrc.json
"plugin:lit-a11y/recommended",
"plugin:require-extensions/recommended"
],
"overrides": [
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.

🚫 [eslint] <no-dupe-keys> reported by reviewdog 🐶
Duplicate key 'overrides'.

@@ -19,7 +19,7 @@ import prettier from 'prettier';
import Case from 'case';
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.

🚫 [eslint] <import/no-extraneous-dependencies> reported by reviewdog 🐶
'case' should be listed in the project's dependencies, not devDependencies.

@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch from 71b894f to 4ce24bf Compare June 19, 2025 18:26
@castastrophe castastrophe force-pushed the castastrophe/swc-829-playwright-lock branch from 4ce24bf to a5f2232 Compare June 23, 2025 20:02
Comment thread .eslintrc.json
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.

Comment thread package.json
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.

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.

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.

2 participants