File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6
6
</template >
7
7
8
8
<script >
9
- // this computed property should be visible
9
+ // this computed property should be visible
10
10
// even if component has no 'computed' defined
11
11
const computedPropMixin = {
12
12
computed: {
@@ -17,6 +17,7 @@ const computedPropMixin = {
17
17
}
18
18
19
19
export default {
20
+ name: ' other-with-mine' ,
20
21
props: [' id' ],
21
22
mixins: [ computedPropMixin ],
22
23
data () {
Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ module.exports = {
43
43
. assert . containsText ( '.data-el.data .data-field:nth-child(4)' , 'NaN' )
44
44
. assert . containsText ( '.data-el.data .data-field:nth-child(1)' , 'Infinity' )
45
45
46
+ // Classify names
47
+ . assert . containsText ( '.instance .instance:nth-child(3)' , 'OtherWithMine' )
48
+ . click ( '.button.classify-names' )
49
+ . assert . containsText ( '.instance .instance:nth-child(3)' , 'other-with-mine' )
50
+ . click ( '.button.classify-names' )
51
+ . assert . containsText ( '.instance .instance:nth-child(3)' , 'OtherWithMine' )
52
+
46
53
// expand child instance
47
54
. click ( '.instance .instance:nth-child(2) .arrow-wrapper' )
48
55
. assert . count ( '.instance' , baseInstanceCount + 2 )
You can’t perform that action at this time.
0 commit comments