Skip to content

Commit 0c3efac

Browse files
committed
chore: use alternative url for ui-states
1 parent ea0ec6b commit 0c3efac

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

system-tests/project-fixtures/runner-specs/cypress/e2e/runner/ui-states/errors.cy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ describe('Errors', () => {
66
})
77

88
it('long error', () => {
9-
cy.request('http://httpstat.us/500')
9+
// @see https://github.com/aaronpowell/httpstatus/issues/135
10+
cy.request('https://httpstatuses.maor.io/500')
1011
})
1112
})

system-tests/project-fixtures/runner-specs/cypress/e2e/runner/ui-states/status-codes.cy.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
describe('Status Codes', () => {
22
it('Request Statuses', () => {
3-
cy.request('https://httpstat.us/200')
4-
cy.request('https://httpstat.us/304')
3+
// @see https://github.com/aaronpowell/httpstatus/issues/135
4+
cy.request('https://httpstatuses.maor.io/200')
5+
cy.request('https://httpstatuses.maor.io/304')
56

67
cy.request({
7-
url: 'https://httpstat.us/400',
8+
url: 'https://httpstatuses.maor.io/400',
89
failOnStatusCode: false,
910
})
1011

1112
cy.request({
12-
url: 'https://httpstat.us/502',
13+
url: 'https://httpstatuses.maor.io/502',
1314
failOnStatusCode: false,
1415
})
1516

1617
cy.request({
17-
url: 'https://httpstat.us/103',
18+
url: 'https://httpstatuses.maor.io/103',
1819
timeout: 2000,
1920
})
2021
})

0 commit comments

Comments
 (0)