@@ -146,10 +146,10 @@ describe('Working with sounds', () => {
146
146
test ( 'Copy and pasting within a sound changes its duration' , async ( ) => {
147
147
await loadUri ( uri ) ;
148
148
await clickText ( 'Sounds' ) ;
149
- await findByText ( '0.85 ' , scope . soundsTab ) ; // Original meow sound duration
149
+ await findByText ( '0.59 ' , scope . soundsTab ) ; // Original meow sound duration
150
150
await clickText ( 'Copy' , scope . soundsTab ) ;
151
151
await clickText ( 'Paste' , scope . soundsTab ) ;
152
- await findByText ( '1.70 ' , scope . soundsTab ) ; // Sound has doubled in duration
152
+ await findByText ( '1.18 ' , scope . soundsTab ) ; // Sound has doubled in duration
153
153
154
154
const logs = await getLogs ( ) ;
155
155
await expect ( logs ) . toEqual ( [ ] ) ;
@@ -162,7 +162,7 @@ describe('Working with sounds', () => {
162
162
await clickXpath ( '//span[text()="Stage"]' ) ;
163
163
await findByText ( '0.02' , scope . soundsTab ) ; // Original pop sound duration
164
164
await clickText ( 'Paste' , scope . soundsTab ) ;
165
- await findByText ( '0.87 ' , scope . soundsTab ) ; // Duration of pop + meow sound
165
+ await findByText ( '0.61 ' , scope . soundsTab ) ; // Duration of pop + meow sound
166
166
167
167
const logs = await getLogs ( ) ;
168
168
await expect ( logs ) . toEqual ( [ ] ) ;
@@ -173,11 +173,11 @@ describe('Working with sounds', () => {
173
173
await clickText ( 'Sounds' ) ;
174
174
const el = await findByXpath ( '//button[@aria-label="Choose a Sound"]' ) ;
175
175
await el . sendKeys ( Key . chord ( Key . COMMAND , 'a' ) ) ; // Select all
176
- await findByText ( '0.85 ' , scope . soundsTab ) ; // Meow sound duration
176
+ await findByText ( '0.59 ' , scope . soundsTab ) ; // Meow sound duration
177
177
await el . sendKeys ( Key . DELETE ) ;
178
178
await findByText ( '0.00' , scope . soundsTab ) ; // Sound is now empty
179
179
await el . sendKeys ( Key . chord ( Key . COMMAND , 'z' ) ) ; // undo
180
- await findByText ( '0.85 ' , scope . soundsTab ) ; // Meow sound is back
180
+ await findByText ( '0.59 ' , scope . soundsTab ) ; // Meow sound is back
181
181
await el . sendKeys ( Key . chord ( Key . COMMAND , Key . SHIFT , 'z' ) ) ; // redo
182
182
await findByText ( '0.00' , scope . soundsTab ) ; // Sound is empty again
183
183
0 commit comments