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

feat: Accordion Example MDS-855 #13

Merged
merged 13 commits into from
Dec 14, 2023
Merged

feat: Accordion Example MDS-855 #13

merged 13 commits into from
Dec 14, 2023

Conversation

tkullisaar
Copy link
Contributor

No description provided.

docs/app/client/accordion/descriptions/Disabled.md Outdated Show resolved Hide resolved
docs/app/client/accordion/descriptions/ControlOutside.md Outdated Show resolved Hide resolved
docs/e2e/accordion.spec.ts Outdated Show resolved Hide resolved
docs/e2e/accordion.spec.ts Outdated Show resolved Hide resolved
@tkullisaar tkullisaar marked this pull request as ready for review December 14, 2023 14:26
const COMPONENT_NAME = "accordion";
const MAX_DIFF_PIXEL_RATIO = 0.01;

const DEFAULT_TIMEOUT = 1000; // We wait max for 1 second for mounting
Copy link
Contributor

Choose a reason for hiding this comment

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

// TODO
I assume we could store this variable somewhere.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah my idea is pretty standard, create a consts directory, create the file index.ts to have the import point, then create playwright.ts and put there with a prefix PLAYWRIGHT_, we avoid any conflicts in the future, and it make easy understand what is what

@karl-kallavus karl-kallavus merged commit 66f1985 into main Dec 14, 2023
3 checks passed
@karl-kallavus karl-kallavus deleted the MDS-855 branch December 14, 2023 16:05
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.

3 participants