File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1010 await expect ( page ) . toMatchElement ( '#app p' , {
1111 text : 'こんにちは、世界!'
1212 } )
13- await expect ( page ) . toMatchElement ( '#app div.child p' , { text : 'Hi !' } )
13+ await expect ( page ) . toMatchElement ( '#app div.child p' , {
14+ text : 'Hi there!'
15+ } )
1416 } )
1517
1618 test ( 'change locale' , async ( ) => {
1719 // root
1820 await expect ( page ) . toSelect ( '#app select' , 'en' )
1921 await expect ( page ) . toMatchElement ( '#app p' , { text : 'hello world!' } )
20- await expect ( page ) . toMatchElement ( '#app div.child p' , { text : 'Hi !' } )
22+ await expect ( page ) . toMatchElement ( '#app div.child p' , {
23+ text : 'Hi there!'
24+ } )
2125
2226 // Child
2327 await expect ( page ) . toSelect ( '#app div.child select' , 'ja' )
2428 await expect ( page ) . toMatchElement ( '#app p' , { text : 'hello world!' } )
2529 await expect ( page ) . toMatchElement ( '#app div.child p' , {
26- text : 'こんにちは !'
30+ text : 'やあ !'
2731 } )
2832 } )
2933 } )
Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ <h1>Child</h1>
4444 en : {
4545 message : {
4646 language : 'Language' ,
47- hello : 'hello world !' ,
48- hi : 'Hi !'
47+ hello : 'hello earth !' ,
48+ hi : 'Hi there !'
4949 }
5050 } ,
5151 ja : {
5252 message : {
5353 language : '言語' ,
54- hello : 'こんにちは、世界 !' ,
55- hi : 'こんにちは !'
54+ hello : 'こんにちは、地球 !' ,
55+ hi : 'やあ !'
5656 }
5757 }
5858 }
Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ <h1>Child</h1>
4343 en : {
4444 message : {
4545 language : 'Language' ,
46- hello : 'hello world !' ,
47- hi : 'Hi !'
46+ hello : 'hello earth !' ,
47+ hi : 'Hi there !'
4848 }
4949 } ,
5050 ja : {
5151 message : {
5252 language : '言語' ,
53- hello : 'こんにちは、世界 !' ,
54- hi : 'こんにちは !'
53+ hello : 'こんにちは、地球 !' ,
54+ hi : 'やあ !'
5555 }
5656 }
5757 }
You can’t perform that action at this time.
0 commit comments