Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve string source handling #8

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Improve string source handling #8

merged 2 commits into from
Oct 21, 2024

Conversation

glenn2223
Copy link
Contributor

@glenn2223 glenn2223 commented Oct 21, 2024

Added

  • A string source can now contain {{term}}, to accommodate paths where ?term=XXX isn't suitable
    • This means you could now use example.com/search/{{term}}/other-stuff

Fixed

  • A string source can now contain a query string (?)
    • It now checks the source and adds either ? or &, whichever is appropriate

Changes

  • New initialiseEnvironment function allows for quicker test initialisation - now more tests are being created

### Added

-   A string `source` can now contain `{{term}}`, to accomodate paths where `?term=XXX` isn't suitable
    -   This means you could now use `example.com/search/{{term}}/other-stuff`

### Fixed

-   A string `source` can now contain a querystring (`?`)
    -   It now checks the source and adds either `?` or `&`, whichever is appropriate

### Changes

-   New `initialiseEnvironment` function allows for quicker test initialisation - now more tests are being created
🤦 can't spell 😂
@glenn2223 glenn2223 merged commit f89cd5e into main Oct 21, 2024
1 check passed
@glenn2223 glenn2223 deleted the improve-string-source branch October 21, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant