You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
579 B
JavaScript

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*/
/// <reference types="cypress" />
context('When clicking on the Logout button, get the user session closed.', () => {
const issueId = '1810'
before(() => {
cy.visit('auth/login')
})
describe(`Testing issue "${issueId}"`, () => {
it('Login', () => {
cy.login()
cy.url().should('include', '/tasks')
})
it('Logout', () => {
cy.logout()
cy.url().should('include', '/auth/login')
})
})
})