/
Audit Logs Page Visit

Audit Logs Page Visit

Prepared by

Test Scenario for

Prepared by

Test Scenario for

Foivos Polykarpou

Audit Logs Page Visit

Overview

Title

Test Name

Objective

Title

Test Name

Objective

Audit Logs Page Visit

auditlogs.js

Purpose

  • 1.1. This test verifies the functionality of accessing the audit logs page of a web application.

  • 1.2. It checks for any errors during the page visit and captures screenshots for further analysis.

Prerequisites

Dependencies Installed: Make sure the required npm packages mentioned in Login with valid and wrong credentials are installed

  • Install minimist for environment variable (baseURL)

  • 2.1. Ensure that the loginfc.js module is correctly set up and exports the page, browser, and baseUrl objects.

  • 2.2. The chai library should be installed for assertions.

  • 2.3. The test environment should have access to the web application at the specified baseUrl.

npm install puppeteer minimist

Test Steps

  • 4.1. After Hook

    • Close the browser to clean up resources after the test execution.

  • 4.2. Test Case: Visit Audit Logs Page

    • Navigate to Audit Logs Page

      • Use the page.goto method to navigate to the audit logs page.

      • Capture a screenshot after opening the page.

      • Verify successful navigation by checking the current URL.

  • 4.3. Error Handling

    • If an error occurs during the process, capture a screenshot and log the page's HTML content for debugging.

Expected Result

  • 5.1. The test should successfully navigate to the audit logs page without errors.

  • 5.2. A screenshot should be captured, and the current URL should confirm successful navigation.

Related content

Audit Logs Page Visit test case
Audit Logs Page Visit test case
More like this
Login with valid and wrong credentials
Login with valid and wrong credentials
More like this
Accelerate System App Corporate Legal Type Visit
Accelerate System App Corporate Legal Type Visit
More like this
Accelerate System App Visit and Interaction
Accelerate System App Visit and Interaction
More like this
Login with Enter Button
Login with Enter Button
More like this
Accelerate System App Social Media Visit
Accelerate System App Social Media Visit
More like this