We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00591e5 + a30c1f1 commit 97c4e12Copy full SHA for 97c4e12
cypress/e2e/ui/login.cy.js
@@ -18,13 +18,13 @@ describe('Login / Logout', () => {
18
19
it('Logout button', () => {
20
cy.login();
21
- cy.intercept('GET', '/api/auth?requester_type=ws').as('get');
+ cy.intercept('GET', '/dashboard/logout').as('get');
22
cy.get('#menu_item_logout').click();
23
24
cy.get('@get').then((getCall) => {
25
expect(getCall.state).to.equal('Complete');
26
expect(getCall.response).to.include({
27
- statusCode: 401,
+ statusCode: 302,
28
});
29
30
0 commit comments