Skip to content

Commit

Permalink
Cypress test. Check email confirmation page.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvkruchinin committed Sep 30, 2021
1 parent a9ce458 commit 05b925a
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright (C) 2021 Intel Corporation
//
// SPDX-License-Identifier: MIT

/// <reference types="cypress" />

context('Email confirmation page.', () => {

const caseId = 106;

describe(`Testing "Case ${caseId}."`, () => {
it('Check email confirmation page.', () => {
cy.visit('auth/email-confirmation');
cy.url().should('include', '/auth/email-confirmation');
cy.get('#email-confirmation-page-container').should('exist');
// Automatic return to the login page
cy.url().should('include', '/auth/login');
});
});
});

0 comments on commit 05b925a

Please sign in to comment.