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(e2e): add proper tags to avt tests #14915

Merged

Conversation

tay1orjones
Copy link
Member

@tay1orjones tay1orjones commented Oct 16, 2023

Closes #14595
Related to #14913

This updates test files to use the proper avt tags within test titles.

Changelog

New

  • Add a few new *-test.avt.e2e.js test files for components that didn't have their avt tests separated out into this separate file yet

Changed

  • Update test names to use the proper tag convention
  • Corrected capitalization to CamelCase for Accordion and Breadcrumb folders and files

Testing / Reviewing

  • Tests should pass
  • Usages of the tags should be correct
  • Filenames/folders should be correct

@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 9216350
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/652d7d98b5cfb90008bc5df9
😎 Deploy Preview https://deploy-preview-14915--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 9216350
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/652d7d98d36cd800088a1724
😎 Deploy Preview https://deploy-preview-14915--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit a329c61
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/654a816bc77a090008d0e540
😎 Deploy Preview https://deploy-preview-14915--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit a329c61
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/654a816b2899700007094a8e
😎 Deploy Preview https://deploy-preview-14915--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM, seems like a few tests are timing out 🤔 Not sure why this change would cause that, so seems unrelated

@tay1orjones
Copy link
Member Author

Yeah I just resolved the conflicts and retested locally and everything passes fine. I think CI should pass 🤞

@tw15egan
Copy link
Collaborator

@tay1orjones a few merge conflicts to resolve here

@tay1orjones
Copy link
Member Author

Conflicts resolved.

I also added a change to shard the AVT tests to prevent the timeout failures we've been seeing due to the increased load of *-test.avt.e2e.js files we've been adding the past few weeks.

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

🎉

@tay1orjones tay1orjones added this pull request to the merge queue Nov 8, 2023
@tay1orjones tay1orjones removed this pull request from the merge queue due to a manual request Nov 8, 2023
@tay1orjones tay1orjones merged commit 5f4f2ad into carbon-design-system:main Nov 8, 2023
21 checks passed
danoro96 pushed a commit to danoro96/carbon that referenced this pull request Jan 18, 2024
      * test(e2e): add proper tags to avt tests

* ci(avt): shard avt tests

* fix: typo

* test(config): increase playwright expect timeout

* test(playwright): increase timeout config

* test(progressindicator): update to use proper tags

* test(progressindicator): correct focus order

---------

Co-authored-by: Andrea N. Cardona <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: TJ Egan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Component Accessibility Status: Update all tests to use the proper naming convention for tags
4 participants