Project

General

Profile

Actions

Refactor #14291

closed

Remove app logins from every integration test

Added by Dominic Cleal almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Each integration test currently runs the login_admin integration test helper which navigates to the index page, fills in the login form and submits it before running the main contents of the test. This is inefficient and adds two requests and some time to the execution of each test.

The login process should be removed from the test steps and tested once by itself, instead of on every integration test. The SSO mechanism in Foreman can be used to automate the login process instead.

Actions

Also available in: Atom PDF