-
-
Notifications
You must be signed in to change notification settings - Fork 691
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change input type in error_boundary example
- Loading branch information
Showing
7 changed files
with
34 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
examples/error_boundary/e2e/tests/click_down_arrow.spec.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { test, expect } from "@playwright/test"; | ||
import { HomePage } from "./fixtures/home_page"; | ||
|
||
test.describe("Type String", () => { | ||
test("should see the error message", async ({ page }) => { | ||
const ui = new HomePage(page); | ||
await ui.goto(); | ||
|
||
await ui.enterValue("leptos"); | ||
|
||
await expect(ui.errorMessage).toHaveText("Not a number! Errors: "); | ||
}); | ||
test("should see the error list", async ({ page }) => { | ||
const ui = new HomePage(page); | ||
await ui.goto(); | ||
|
||
await ui.enterValue("leptos"); | ||
|
||
await expect(ui.errorList).toHaveText( | ||
"invalid digit found in string" | ||
); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters