refactor(tests): replace newSpecPage with newE2EPage #10349
Labels
0 - new
New issues that need assignment.
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - low
Issue is non core or affecting less that 10% of people using the library
testing
Issues related to automated or manual testing.
Priority impact
p - low
Test type
Unit tests
Which Component(s)
Heading
Unstable Tests
Calcite has 1410 newE2EPage tests and only 2 newSpecPage tests in one file:
https://github.com/Esri/calcite-design-system/blob/7fe16011957a45f3340ba9bfe137bcae258bf314/packages/calcite-components/src/components/functional/Heading.spec.tsx#L2C10-L2C19
To simplify migration, Lumina temporary provides newE2EPage() function that matches Stencil's API. In the long term, it would be great to migrate to Vitest browser test to improve DX, performance and integrations with Storybook.
Given that newSpecPage is only used by Calcite in one file, Lumina doesn't provide Stencil's equivalent of newSpecPage.
TODO:
Test error, if applicable
No response
PR skipped, if applicable
Additional Info
No response
The text was updated successfully, but these errors were encountered: