mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
refactor(): update directories to use kebab case (#27230)
Issue number: N/A --------- <!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https://ionicframework.com/docs/building/contributing --> <!-- Some docs updates need to be made in the `ionic-docs` repo, in a separate PR. See https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#modifying-documentation for details. --> <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> The team decided on some new processes for adding tests. One of those processes is that test directories should use kebab case. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Updates test directories to use kebab case ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
This commit is contained in:
@ -5,7 +5,7 @@ test.describe('modal: canDismiss', () => {
|
||||
test.describe('regular modal', () => {
|
||||
test.beforeEach(async ({ page, skip }) => {
|
||||
skip.rtl();
|
||||
await page.goto('/src/components/modal/test/canDismiss');
|
||||
await page.goto('/src/components/modal/test/can-dismiss');
|
||||
});
|
||||
test('should dismiss when canDismiss is true', async ({ page }) => {
|
||||
const ionModalDidPresent = await page.spyOnEvent('ionModalDidPresent');
|
||||
@ -80,7 +80,7 @@ test.describe('modal: canDismiss', () => {
|
||||
test.beforeEach(async ({ page, skip }) => {
|
||||
skip.rtl();
|
||||
skip.mode('md');
|
||||
await page.goto('/src/components/modal/test/canDismiss');
|
||||
await page.goto('/src/components/modal/test/can-dismiss');
|
||||
await page.click('#radio-card');
|
||||
});
|
||||
test('should dismiss when canDismiss is true', async ({ page }) => {
|
||||
@ -139,7 +139,7 @@ test.describe('modal: canDismiss', () => {
|
||||
test.beforeEach(async ({ page, skip }) => {
|
||||
skip.rtl();
|
||||
skip.mode('md');
|
||||
await page.goto('/src/components/modal/test/canDismiss');
|
||||
await page.goto('/src/components/modal/test/can-dismiss');
|
||||
await page.click('#radio-card');
|
||||
});
|
||||
|
||||
@ -224,7 +224,7 @@ test.describe('modal: canDismiss', () => {
|
||||
test.describe('sheet modal', () => {
|
||||
test.beforeEach(async ({ page, skip }) => {
|
||||
skip.rtl();
|
||||
await page.goto('/src/components/modal/test/canDismiss');
|
||||
await page.goto('/src/components/modal/test/can-dismiss');
|
||||
await page.click('#radio-sheet');
|
||||
});
|
||||
test('should dismiss when canDismiss is true', async ({ page }) => {
|
||||
@ -388,7 +388,7 @@ test.describe('modal: canDismiss', () => {
|
||||
test.beforeEach(async ({ page, skip }) => {
|
||||
skip.mode('md');
|
||||
skip.rtl();
|
||||
await page.goto('/src/components/modal/test/canDismiss');
|
||||
await page.goto('/src/components/modal/test/can-dismiss');
|
||||
});
|
||||
test('should pass data and role when calling dismiss', async ({ page }) => {
|
||||
const ionModalDidPresent = await page.spyOnEvent('ionModalDidPresent');
|
||||
@ -5,7 +5,7 @@ test.describe('modal: isOpen', () => {
|
||||
test.beforeEach(async ({ page, skip }) => {
|
||||
skip.rtl();
|
||||
skip.mode('md');
|
||||
await page.goto('/src/components/modal/test/isOpen');
|
||||
await page.goto('/src/components/modal/test/is-open');
|
||||
});
|
||||
|
||||
test('should open the modal', async ({ page }) => {
|
||||
Reference in New Issue
Block a user