StrikekitStrikekit

Forms examples

select, pick, open, type, date/time, upload, and clear as .stk files

Complete scenarios for common form widgets. Adapt labels to your UI.

Native select and clear

Platform: web

Group: Forms

    Scenario: Choose country and clear search
        Given I navigate to "$BASE_URL/settings"
        When I select "United States" from "Country"
        And I select "Red,Blue,Green" from "Colors"
        When I fill "search" with "laptop"
        And I clear "search"
        Then I should have "search" value "" be enabled

Custom combobox (pick / open)

Platform: web

Group: Forms

    Scenario: Closed combobox single pick
        Given I navigate to "$BASE_URL/profile"
        When I pick "Canada" from "Country"
        Then I should see "Canada"

    Scenario: Open panel then multi pick
        Given I navigate to "$BASE_URL/profile"
        When I open "Tags"
        And I pick "Red,Blue,Green"
        Then I should see "Red"

Typeahead

Platform: web

Group: Forms

    Scenario: Type partial then pick suggestion
        Given I navigate to "$BASE_URL/profile"
        When I type "Can" in "Country" and pick "Canada"
        Then I should see "Canada"

Date, time, and upload

Platform: web

Group: Forms

    Scenario: Native date time and file upload
        Given I navigate to "$BASE_URL/booking"
        When I pick date "2026-06-15" in "Start date"
        And I pick time "09:30" in "Meeting time"
        When I upload "invoice.pdf" to "Attachments"
        And I click on "Save"
        Then I should see "Saved"

Place invoice.pdf next to the .stk file or under {stk-dir}/files/invoice.pdf. See upload.

On this page