mirror of
https://github.com/mosbth/cimage.git
synced 2025-07-21 00:31:20 +02:00
14 lines
403 B
Gherkin
14 lines
403 B
Gherkin
Feature: src
|
|
Display an image by selecting its source.
|
|
|
|
Scenario: Source is not a valid image name
|
|
Given Set src "NO_IMAGE"
|
|
When Get headers for image
|
|
Then Returns status code "404"
|
|
|
|
Scenario: Get only source image
|
|
Given Set src "test_100x100.png"
|
|
When Get image
|
|
Then Returns status code "200"
|
|
And Compares to image "test_100x100.png"
|