|
11 | 11 | text: 'こんにちは、世界!' |
12 | 12 | }) |
13 | 13 | await expect(page).toMatchElement('#app div.child p', { |
14 | | - text: 'こんにちは!' |
| 14 | + text: 'やあ!' |
15 | 15 | }) |
16 | 16 | await expect(page).toMatchElement('#app label[for=checkbox]', { |
17 | 17 | text: 'root から locale を継承する' |
|
22 | 22 | // root |
23 | 23 | await expect(page).toSelect('#app select', 'en') |
24 | 24 | await expect(page).toMatchElement('#app p', { text: 'hello world!' }) |
25 | | - await expect(page).toMatchElement('#app div.child p', { text: 'Hi !' }) |
| 25 | + await expect(page).toMatchElement('#app div.child p', { text: 'Hi there!' }) |
26 | 26 | await expect(page).toMatchElement('#app label[for=checkbox]', { |
27 | 27 | text: 'Inherit locale from root' |
28 | 28 | }) |
|
31 | 31 | await expect(page).toSelect('#app div.child select', 'ja') |
32 | 32 | await expect(page).toMatchElement('#app p', { text: 'hello world!' }) |
33 | 33 | await expect(page).toMatchElement('#app div.child p', { |
34 | | - text: 'こんにちは!' |
| 34 | + text: 'やあ!' |
35 | 35 | }) |
36 | 36 | await expect(page).toMatchElement('#app label[for=checkbox]', { |
37 | 37 | text: 'root から locale を継承する' |
|
43 | 43 | await expect(page).toSelect('#app select', 'en') |
44 | 44 | await expect(page).toMatchElement('#app p', { text: 'hello world!' }) |
45 | 45 | await expect(page).toMatchElement('#app div.child p', { |
46 | | - text: 'こんにちは!' |
| 46 | + text: 'やあ!' |
47 | 47 | }) |
48 | 48 | await expect(page).toMatchElement('#app label[for=checkbox]', { |
49 | 49 | text: 'root から locale を継承する' |
|
54 | 54 | await expect(page).toSelect('#app select', 'ja') |
55 | 55 | await expect(page).toSelect('#app select', 'en') |
56 | 56 | await expect(page).toMatchElement('#app p', { text: 'hello world!' }) |
57 | | - await expect(page).toMatchElement('#app div.child p', { text: 'Hi !' }) |
| 57 | + await expect(page).toMatchElement('#app div.child p', { text: 'Hi there!' }) |
58 | 58 | await expect(page).toMatchElement('#app label[for=checkbox]', { |
59 | 59 | text: 'Inherit locale from root' |
60 | 60 | }) |
|
0 commit comments