-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(vue): Add new route for trackComponent tests
Group trackComponent tests together: 1. With <> 2. Without <> 3. Not tracked Signed-off-by: Kaung Zin Hein <[email protected]>
- Loading branch information
1 parent
8f48f36
commit ab13a0b
Showing
6 changed files
with
53 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
dev-packages/e2e-tests/test-applications/vue-3/src/views/ComponentMainView.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script setup lang="ts"> | ||
import ComponentOneView from './ComponentOneView.vue'; | ||
import ComponentTwoView from './ComponentTwoView.vue'; | ||
</script> | ||
|
||
<template> | ||
<h1>Demonstrating Component Tracking</h1> | ||
<ComponentOneView /> | ||
<ComponentTwoView /> | ||
</template> |
10 changes: 10 additions & 0 deletions
10
dev-packages/e2e-tests/test-applications/vue-3/src/views/ComponentOneView.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script setup lang="ts"> | ||
function log() { | ||
console.log('Component One!'); | ||
} | ||
</script> | ||
|
||
<template> | ||
<h1>Component One</h1> | ||
<button id="componentOneBtn" @click="log">Click to Log</button> | ||
</template> |
10 changes: 10 additions & 0 deletions
10
dev-packages/e2e-tests/test-applications/vue-3/src/views/ComponentTwoView.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script setup lang="ts"> | ||
function log() { | ||
console.log('Component Two!'); | ||
} | ||
</script> | ||
|
||
<template> | ||
<h1>Component One</h1> | ||
<button id="componentTwoBtn" @click="log">Click to Log</button> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters