<commit_before>Feature: login

	Scenario: simple user login
		Given a regular user exists
		And I am on the login page
		When I login as a regular user with a correct password
		Then I should be redirected to a page with the title "Files - ownCloud"

	Scenario: admin login
		Given I am on the login page
		When I login with username "admin" and password "<PASSWORD>"
		Then I should be redirected to a page with the title "Files - ownCloud"

	Scenario: admin login with invalid password
		Given I am on the login page
		When I login with username "admin" and invalid password "<PASSWORD>"
		Then I should be redirected to a page with the title "ownCloud"

	Scenario: access the personal general settings page when not logged in
		Given I go to the personal general settings page
		Then I should be redirected to a page with the title "ownCloud"
		When I login with username "admin" and password "<PASSWORD>" after a redirect from the "personal general settings" page
		Then I should be redirected to a page with the title "Settings - ownCloud"

	@skip @entering-the-wrong-password-breaks-the-redirect-issue-28129
	Scenario: access the personal general settings page when not logged in using incorrect then correct password
		Given I go to the personal general settings page
		Then I should be redirected to a page with the title "ownCloud"
		When I login with username "admin" and invalid password "<PASSWORD>"
		Then I should be redirected to a page with the title "ownCloud"
		When I login with username "admin" and password "<PASSWORD>" after a redirect from the "personal general settings" page
		Then I should be redirected to a page with the title "Settings - ownCloud"<commit_msg>Unskip login redirect test for issue 28129<commit_after>Feature: login

	Scenario: simple user login
		Given a regular user exists
		And I am on the login page
		When I login as a regular user with a correct password
		Then I should be redirected to a page with the title "Files - ownCloud"

	Scenario: admin login
		Given I am on the login page
		When I login with username "admin" and password "<PASSWORD>"
		Then I should be redirected to a page with the title "Files - ownCloud"

	Scenario: admin login with invalid password
		Given I am on the login page
		When I login with username "admin" and invalid password "<PASSWORD>"
		Then I should be redirected to a page with the title "ownCloud"

	Scenario: access the personal general settings page when not logged in
		Given I go to the personal general settings page
		Then I should be redirected to a page with the title "ownCloud"
		When I login with username "admin" and password "<PASSWORD>" after a redirect from the "personal general settings" page
		Then I should be redirected to a page with the title "Settings - ownCloud"

	Scenario: access the personal general settings page when not logged in using incorrect then correct password
		Given I go to the personal general settings page
		Then I should be redirected to a page with the title "ownCloud"
		When I login with username "admin" and invalid password "<PASSWORD>"
		Then I should be redirected to a page with the title "ownCloud"
		When I login with username "admin" and password "<PASSWORD>" after a redirect from the "personal general settings" page
		Then I should be redirected to a page with the title "Settings - ownCloud"
{'fraction_non_alphanumeric': 0.04075516931375487, 'fraction_numerical': 0.0029967036260113876, 'mean_word_length': 4.088414634146342, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5309414', 'n_tokens_mistral': 894, 'n_tokens_neox': 825, 'n_words': 531}