Skip to content

Commit 42d0967

Browse files
Update source/api/commands/window.md
1 parent 3cd15c0 commit 42d0967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/api/commands/window.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ it('test', (done) => {
160160

161161
It fails. But the interesting thing is that the type of `event` is `KeyboardEvent` when you `console.log(event)`.
162162

163-
It's because Cypress Runner uses `iframe` to load the test application. In other words, `KeyboardEvent` used in the the code above and the `KeyboardEvent` class from which `event` variable is constructed are different `KeyboardEvent`s.
163+
It's because the Test Runner uses an `iframe` to load the application under test. In other words, the `KeyboardEvent` used in the the code above and the `KeyboardEvent` class from which the `event` variable is constructed are different `KeyboardEvent`s.
164164

165165
That's why the test should be written like this.
166166

0 commit comments

Comments
 (0)