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

Added curl_tests to tests.toml schema. #2610

Merged
merged 3 commits into from
Oct 11, 2024
Merged

Conversation

orhtej2
Copy link
Contributor

@orhtej2 orhtej2 commented Oct 2, 2024

Allow defining the curl_tests section

[default]
    [default.curl_tests]
    suite1.logged_on_sso = true
    suite1.expect_return_code = 401

    suite2.base_url = "https://why-would-you-do-that.com"
    suite2.path = "/new/path/"
    suite2.logged_on_sso = true
    suite2.expect_title = "awesome title"
    suite2.expect_content = "Denied, lol"
    suite2.expect_return_code = 418
    suite2.expect_effective_url = "https://why-would-you-do-that.com/new/path/redirected"
    suite2.auto_test_assets = false

@orhtej2 orhtej2 marked this pull request as draft October 3, 2024 18:20
@orhtej2
Copy link
Contributor Author

orhtej2 commented Oct 3, 2024

These should have been patternProperties not properties, will actually test before re-releasing

@orhtej2 orhtej2 marked this pull request as ready for review October 3, 2024 20:49
@orhtej2
Copy link
Contributor Author

orhtej2 commented Oct 3, 2024

Tested against my_webdav_ynh, now it passes.

@Salamandar Salamandar merged commit 1efcbba into YunoHost:master Oct 11, 2024
1 of 2 checks passed
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.

2 participants