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

Slider Cypress / QA Tests #3353

Merged
merged 2 commits into from
May 22, 2024
Merged

Slider Cypress / QA Tests #3353

merged 2 commits into from
May 22, 2024

Conversation

lukeac123
Copy link
Contributor

No description provided.

Copy link

changeset-bot bot commented May 2, 2024

⚠️ No Changeset found

Latest commit: 7d99feb

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

Copy link

vercel bot commented May 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 2, 2024 11:15am

.parent()
.trigger("mousemove", { clientX: 50, clientY: 50 });
cy.get("@changeSpy").should("have.callCount", 2);
});
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 and the above test check to see if the onChange is fired but don't check to validate the thumb has move the appropriate value that the mouse position corresponds to. Any ideas on how to do this ?
One possibility could be to separately unit test the individual calculations ?
Or is this sufficient for now?

Copy link
Contributor

github-actions bot commented May 2, 2024

Storybook Preview Link https://e9ec682d.saltdesignsystem-storybook.pages.dev

@joshwooding
Copy link
Contributor

@lukeac123 Should this just be merged into #3296? Tests arguably should be delivered with the code

@lukeac123 lukeac123 merged commit 9ac5022 into slider May 22, 2024
13 of 15 checks passed
@lukeac123 lukeac123 deleted the slider-tests branch May 22, 2024 09:23
lukeac123 added a commit that referenced this pull request May 29, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Jun 13, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Jun 19, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Jul 1, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Jul 23, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Jul 23, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Jul 25, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Jul 30, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
tomhazledine pushed a commit that referenced this pull request Aug 8, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
joshwooding pushed a commit that referenced this pull request Sep 5, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
joshwooding pushed a commit that referenced this pull request Sep 10, 2024
input example + aria label

types and refactor

prettier

self review + cs

update tooltip css

typedocs + change label prop to marks

Slider Cypress / QA Tests (#3353)

[WIP] Slider range (#3451)

validation example

update cs

prettier + qa tests

prevent default

update mouse to pointer

fix types

type error

explaination for type issue

range slider cypress tests

prettier

typo

update thumb tooltip behaviour
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