From d1d6ae6063ac662bb3d66e3e4adc1ad369a05e10 Mon Sep 17 00:00:00 2001 From: Kruchinin Date: Wed, 11 Nov 2020 16:16:17 +0300 Subject: [PATCH 1/3] Cypress test. Check User Guide. --- .../issue_2391_user_guide.js | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/cypress/integration/actions_tasks_objects/issue_2391_user_guide.js diff --git a/tests/cypress/integration/actions_tasks_objects/issue_2391_user_guide.js b/tests/cypress/integration/actions_tasks_objects/issue_2391_user_guide.js new file mode 100644 index 00000000..88c620ad --- /dev/null +++ b/tests/cypress/integration/actions_tasks_objects/issue_2391_user_guide.js @@ -0,0 +1,20 @@ +// Copyright (C) 2020 Intel Corporation +// +// SPDX-License-Identifier: MIT + +/// + +context('Check User Guide.', () => { + const issueId = '2391'; + + describe(`Testing issue "${issueId}"`, () => { + it('User Guide is available.', () => { + cy.visit('documentation/user_guide.html') + }); + it('Checking for the several elements.', () => { + cy.get('#users-guide'); + cy.get('a'); + cy.get('img'); + }); + }); +}); From b600b7dc4ffb3ff95bcf725ed726f5dfb9df18f3 Mon Sep 17 00:00:00 2001 From: Kruchinin Date: Wed, 11 Nov 2020 16:28:56 +0300 Subject: [PATCH 2/3] Move to actions_user folder. --- .../issue_2391_user_guide.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/cypress/integration/{actions_tasks_objects => actions_users}/issue_2391_user_guide.js (100%) diff --git a/tests/cypress/integration/actions_tasks_objects/issue_2391_user_guide.js b/tests/cypress/integration/actions_users/issue_2391_user_guide.js similarity index 100% rename from tests/cypress/integration/actions_tasks_objects/issue_2391_user_guide.js rename to tests/cypress/integration/actions_users/issue_2391_user_guide.js From faa1a2c3e55950cd7c604f4b687f5c609d401433 Mon Sep 17 00:00:00 2001 From: Kruchinin Date: Wed, 11 Nov 2020 18:26:18 +0300 Subject: [PATCH 3/3] Minor fix --- .../cypress/integration/actions_users/issue_2391_user_guide.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/integration/actions_users/issue_2391_user_guide.js b/tests/cypress/integration/actions_users/issue_2391_user_guide.js index 88c620ad..c529c3d1 100644 --- a/tests/cypress/integration/actions_users/issue_2391_user_guide.js +++ b/tests/cypress/integration/actions_users/issue_2391_user_guide.js @@ -9,7 +9,7 @@ context('Check User Guide.', () => { describe(`Testing issue "${issueId}"`, () => { it('User Guide is available.', () => { - cy.visit('documentation/user_guide.html') + cy.visit('documentation/user_guide.html'); }); it('Checking for the several elements.', () => { cy.get('#users-guide');