leptos/examples/suspense_tests/e2e/features/view_single.feature
Joseph Cruz 087c68569a
test(suspense-tests): add e2e tests (Closes #1519) (#1533)
* test(suspense-tests): add e2e tests (closes #1519)

test(suspense_tests): load nested

test(suspense_tests): load parallel

test(suspsense_tests): load nested inside

test(suspense_tests): load single

test(suspense_tests): load inside component

test(suspense_tests): load no resources

test(suspense_tests): click nested count

test(suspense_tests): click inside component count

test(suspense_tests): click nested inside count

test(suspense_tests): click single count

test(suspense_tests): click parallel counts

test(suspense_tests): click no resources count

refactor(suspense_tests): change view strategy

* fix(suspense_tests): let_unit_value
2023-08-15 06:19:20 -04:00

42 lines
1.1 KiB
Gherkin

@view_single
Feature: View Single
Background:
Given I see the app
@view_single-title
Scenario Outline: Should see the page title
Given I select the mode <Mode>
When I select the component Single
Then I see the page title is <Mode>
Examples:
| Mode |
| Out-of-Order |
| In-Order |
| Async |
@view_single-one
Scenario Outline: Should see the one second message
Given I select the mode <Mode>
When I select the component Single
Then I see the one second message is One Second: Loaded 1!
Examples:
| Mode |
| Out-of-Order |
| In-Order |
| Async |
@view_single-following
Scenario Outline: Should see the following message
Given I select the mode <Mode>
When I select the component Single
Then I see the following message is Children following Suspense should hydrate properly.
Examples:
| Mode |
| Out-of-Order |
| In-Order |
| Async |