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

Upgrade @ember/test-helpers to 3.x #509

Merged
merged 7 commits into from
Jun 13, 2023

Conversation

fivetanley
Copy link
Contributor

@fivetanley fivetanley commented Jun 8, 2023

depends upon #508

partially resolves #506

@MelSumner
Copy link
Member

I think there might be some changes to make related to what was merged in #503

@fivetanley fivetanley force-pushed the ember-test-helpers-upgrade branch 2 times, most recently from 720451d to 4fb00bc Compare June 8, 2023 18:13
@fivetanley
Copy link
Contributor Author

It looks like this is blocked on ember-qunit: https://github.com/ember-a11y/ember-a11y-testing/actions/runs/5214440386/jobs/9410705701?pr=509#step:6:125

We'll need emberjs/ember-qunit#1077 and a new release of ember-qunit first (as @MelSumner pointed out in a slack conversation with me at work).

I think there might be some changes to make related to what was merged in #503

It looks like the first time I made the commit I used a newer yarn which significantly changed the lock file. I reverted back to the version in package.json -> volta -> yarn and I think we're where we need to be before upgrading ember-qunit.

@MelSumner
Copy link
Member

The README should be updated as part of this PR to tell users what version of the addon to use if they need to support Node 14.

@fivetanley fivetanley force-pushed the ember-test-helpers-upgrade branch 2 times, most recently from 49527a7 to 39ac860 Compare June 12, 2023 19:21
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
fivetanley and others added 2 commits June 12, 2023 14:34
Co-authored-by: Melanie Sumner <melanie.sumner@hey.com>
Co-authored-by: Melanie Sumner <melanie.sumner@hey.com>
@@ -115,7 +117,7 @@ start();

:warning: It's important to note that you must also use the [`enableA11yAudit`](#force-running-audits) query parameter in order to force audits. This setting is required in addition to any invocation strategy you provide.

By default, audits will be run on `visit`, `click`, `doubleClick`, and `tap`. To add additional helpers to hook into, specify them by name in the `options.helpers` argument. Note that this option specifies the *complete* set of helpers to hook into; to include the defaults you must import them and splat them into the array as shown below.
By default, audits will be run on `visit`, `click`, `doubleClick`, and `tap`. To add additional helpers to hook into, specify them by name in the `options.helpers` argument. Note that this option specifies the _complete_ set of helpers to hook into; to include the defaults you must import them and splat them into the array as shown below.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Most of these changes were unintentional but ran since I have the prettier plugin enabled in VSCode. Should we leave the changes in and figure out how to have prettier check .md files in CI in a different PR?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I think it's fine to leave them in, can you create an issue to track this though?

Copy link
Member

Choose a reason for hiding this comment

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

@fivetanley fivetanley force-pushed the ember-test-helpers-upgrade branch 2 times, most recently from 0722b0d to 9bbec9e Compare June 12, 2023 21:46
@@ -32,7 +32,7 @@ jobs:
run: yarn test:node

floating:
name: "Floating Dependencies"
name: 'Floating Dependencies'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is a change from prettier

@MelSumner MelSumner merged commit 0494052 into ember-a11y:master Jun 13, 2023
14 checks passed
@fivetanley fivetanley deleted the ember-test-helpers-upgrade branch June 13, 2023 00:47
@MelSumner
Copy link
Member

I'm going to try a pre-release for this so we can see how it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update ember-test-helpers to v3 latest and cut new release
3 participants