testing invalid URLs #8

Closed
opened 2023-10-02 13:07:56 -07:00 by bucky · 3 comments

Scenario
Given I am on the homepage
When I type an invalid URL
And I submit the form
I should be redirected to the homepage with an error message that the URL was not correct

should this include non-existing URLs as well as existing ones? (i.e. a URL format that is correct, but that doesn't exist as an actual page vs an actual URL that exists and can be visited).

Scenario Given I am on the homepage When I type an invalid URL And I submit the form I should be redirected to the homepage with an error message that the URL was not correct should this include non-existing URLs as well as existing ones? (i.e. a URL format that is correct, but that doesn't exist as an actual page vs an actual URL that exists and can be visited).
bucky closed this issue 2023-10-07 21:14:38 -07:00
Poster
Owner
closed by bucky/url-shortener#18
bucky reopened this issue 2023-10-12 14:38:54 -07:00
Poster
Owner

was closed prematurely because i was working on another part for the empty url validation.

was closed prematurely because i was working on another part for the empty url validation.
Poster
Owner
https://medium.com/@henryyihengzhang/validating-urls-in-ruby-c3e4646c6494 has a few options.
bucky added reference invalid-urls 2023-10-12 19:11:31 -07:00
bucky closed this issue 2023-10-12 23:49:49 -07:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bucky/url-shortener#8
There is no content yet.