leptos/examples/suspense_tests/e2e/features/view_no_resources.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.2 KiB
Gherkin

@view_no_resources
Feature: view No Resources
Background:
Given I see the app
@view_no_resources-title
Scenario Outline: Should see the page title
Given I select the mode <Mode>
When I select the component No Resources
Then I see the page title is <Mode>
Examples:
| Mode |
| Out-of-Order |
| In-Order |
| Async |
@view_no_resources-another
Scenario Outline: Should see the inside message
Given I select the mode <Mode>
When I select the component No Resources
Then I see the inside message is Children inside Suspense should hydrate properly.
Examples:
| Mode |
| Out-of-Order |
| In-Order |
| Async |
@view_no_resources-following
Scenario Outline: Should see the following message
Given I select the mode <Mode>
When I select the component No Resources
Then I see the following message is Children following Suspense should hydrate properly.
Examples:
| Mode |
| Out-of-Order |
| In-Order |
| Async |