Skip to content

Commit

Permalink
Fix typos (elixir-wallaby#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng authored Aug 24, 2021
1 parent 49943db commit e25d672
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Other goodies include improved test helpers, a cookies API and handling for JS-d
- Removed deprecated versions of `text`
- Removed deprecated `click_link`
- Removed deprecated `click_button`
- Removed depreacted `choose`
- Removed deprecated `choose`

### Features

Expand Down
2 changes: 1 addition & 1 deletion integration_test/cases/browser/button_up_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule Wallaby.Integration.Browser.ButtonUpTest do
end
end

describe "button_down/2 releases previously held mouse button if cursor is moved from the position where the buton was pressed" do
describe "button_down/2 releases previously held mouse button if cursor is moved from the position where the button was pressed" do
test "for left button", %{page: page} do
move_cursor_then_button_up_test(page, :left, "Left")
end
Expand Down
2 changes: 1 addition & 1 deletion test/support/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Wallaby.TestSupport.Utils do
"""

@doc """
Repeatedly execute a closure, with a timeout. Useful for assertions that are relying on asyncronous operations.
Repeatedly execute a closure, with a timeout. Useful for assertions that are relying on asynchronous operations.
"""
def attempt_with_timeout(doer, timeout \\ 100),
do: attempt_with_timeout(doer, now_in_milliseconds(), timeout)
Expand Down
2 changes: 1 addition & 1 deletion test/wallaby/http_client_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ defmodule Wallaby.HTTPClientTest do
end

test "with an obscure status code", %{bypass: bypass} do
expected_message = "message from an obsure error"
expected_message = "message from an obscure error"

Bypass.expect(bypass, fn conn ->
send_json_resp(conn, 200, %{
Expand Down

0 comments on commit e25d672

Please sign in to comment.